As a library administrator who is working with Requests I want to be able to search requests So I can locate one to view and/or edit
Scenario
Given the Search Box in the Requests app
When no search has been executed
Then all item records should display in the Item List (filter selections should apply)
Scenario
Given the Search Box in the Requests app
When a search term is entered/modified
Then:
The Request List is updated to to display only those items for whom the search term matches:
Item barcode
Requester barcode
Title
The number of results displaying above the list should update to reflect the results returned
Scenario
Given an applied filter in the Requests app
When the search term is modified
Then the filter remains applied
Scenario
Given an entered search term in the Requests app
When the filters are modified
Then the search term remains applied
Scenario
Given the Request List in the Requests app
When applied search and filters return no results
Then the following message should be displayed:
No results found. Please check your spelling and filters.
Environment
None
Potential Workaround
None
Checklist
hide
TestRail: Results
Activity
Show:
Cate Boerema October 7, 2017 at 12:25 PM
Blocked from testing by and
Mike Taylor July 25, 2017 at 10:54 AM
Big, important meta-issue here: we already have a lot of code-duplication between Users and Items, the two big search-focused modules. If Scan is now going to have searching (and related stuff – filtering, sorting) then we definitely want to abstract out the core common code from these two modules, and have each module specify only the parts unique to them.
Purpose: Implement basic search for Requests.
As a library administrator who is working with Requests
I want to be able to search requests
So I can locate one to view and/or edit
Scenario
Given the Search Box in the Requests app
When no search has been executed
Then all item records should display in the Item List (filter selections should apply)
Scenario
Given the Search Box in the Requests app
When a search term is entered/modified
Then:
The Request List is updated to to display only those items for whom the search term matches:
Item barcode
Requester barcode
Title
The number of results displaying above the list should update to reflect the results returned
Scenario
Given an applied filter in the Requests app
When the search term is modified
Then the filter remains applied
Scenario
Given an entered search term in the Requests app
When the filters are modified
Then the search term remains applied
Scenario
Given the Request List in the Requests app
When applied search and filters return no results
Then the following message should be displayed:
No results found. Please check your spelling and filters.