As a worker, I want to be able to open and see my clothing and specify a method to sort the clothes (e.g. ascending, descending, by color, by size, etc) 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.
Methods of sorting should include:
By Color (rainbow)
By Size (small to large)
By Size (large to small)
By Name (ascending)
By Name (descending)
By Type (headware, shirts, pants, shoes; ascending)
By Type (headware, shirts, pants, shoes; descending)
Acceptance Criteria
[ ] Scenario 1: Allow logged-in users to access their individual clothing inventories sorted by [one of above methods]
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 chart
When the user clicks on the table categories to sort (may be any of the above type)
Then the user should see the table rows sorted based on the specified type
[ ] Scenario 2: Users have no clothes
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 nothing in the table as they have no clothes
When the user clicks on the table categories to sort (may be any of the above type)
Then the user should still see nothing as they have no clothes
As a worker, I want to be able to open and see my clothing and specify a method to sort the clothes (e.g. ascending, descending, by color, by size, etc) 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.
Methods of sorting should include:
Acceptance Criteria
[ ] Scenario 1: Allow logged-in users to access their individual clothing inventories sorted by [one of above methods]
[ ] Scenario 2: Users have no clothes