As a worker, I want to be able to open and search for a specific name of my clothing so that I have a clear overview of the clothing I have available at any given time. This feature provides the ease of access to my inventory, allowing me to browse my wardrobe conveniently and efficiently. Also, allowing the viewable wardrobe allows me to determine missing or items that I do not own anymore.
Acceptance Criteria
[ ] Scenario 1: Allow logged-in users to search their inventory successfully
Given that the user is logged in
And that they are on the home page
When the user clicks on the inventory tab
Then the user should view all clothing that is previously entered in the form of a table
When the user types a search query and clicks "go"
Then the user should see the matching clothes with the same name as the query
[ ] Scenario 2: Logged-in users search for an non-existent item
Given that the user is logged in
And that they are on the home page
When the user clicks on the inventory tab
Then the user should view all clothing that is previously entered in the form of a table
When the user types a search query that matches none of their clothes and clicks "go"
As a worker, I want to be able to open and search for a specific name of my clothing so that I have a clear overview of the clothing I have available at any given time. This feature provides the ease of access to my inventory, allowing me to browse my wardrobe conveniently and efficiently. Also, allowing the viewable wardrobe allows me to determine missing or items that I do not own anymore.
Acceptance Criteria
[ ] Scenario 1: Allow logged-in users to search their inventory successfully
[ ] Scenario 2: Logged-in users search for an non-existent item