Open ChrisRaynerSG opened 2 weeks ago
@Sad Scenario: No results found for the search Given the user is on the products page When the user enters "unicorn statue" in the search bar And clicks the search button Then the user should see a message "No results found"
@Happy Scenario: Search with an empty query Given the user is on the products page When the user leaves the search bar empty And clicks the search button Then the user should see all of the products (potential issue - user should be prompted to enter a search term instead)
@Happy Scenario: Search for an item by name Given the user is on the products page When the user enters "shirts" in the search bar And clicks the search button Then the user should see a list of items related to "shirts"