As a Cal Poly student user registered with an account on Favor, I want to be able to search for a Favor so that I can find the service that I am looking for quickly.
Use Case
Name
"Search for Favor"
Description
User is able to search for a specific Favor from the home page by typing a search query into the search bar.
Precondition
User is registered with an account and signed in
User can find the search bar on the homepage
Happy Path or Course of Action
User navigates to home page
User sees search bar above list of available Favors
User enters search query into search bar and hits 'Enter'
Search query filters Favors by matching Favor titles and descriptions to the query
Favors are presented that match the given search query
Postcondition
Favors that match the given search query are presented to the user on the home page. Favors that don't match the search query are not presented.
Alternative Paths
User enters search query that does not match any Favors in the database
User should be notified (via a warning message) that there are no Favors that match the given search query in the database.
User misspells the name of a Favor
A warning message will come up, saying that the query didn't match any existing Favors (similar to the one above).
Acceptance tests
Verify that a user can search for a Favor based on the Favor's title
Verify that a user can search for a Favor based on the Favor's description
Verify that a user receives a warning message when they submit a search query that does not match to any existing Favors
User Story
As a Cal Poly student user registered with an account on Favor, I want to be able to search for a Favor so that I can find the service that I am looking for quickly.
Use Case
Name "Search for Favor"
Description User is able to search for a specific Favor from the home page by typing a search query into the search bar.
Precondition
Happy Path or Course of Action
Postcondition Favors that match the given search query are presented to the user on the home page. Favors that don't match the search query are not presented.
Alternative Paths
Acceptance tests