-
Notifications
You must be signed in to change notification settings - Fork 0
Search
Manuel edited this page Dec 16, 2024
·
7 revisions
The search bar is present in all the pages of the website and it's used to search for specific products. It has a 'Search' placeholder and also displays search suggestion and autocompletes search terms to help the user find products more easily.
In case the user searches for a none existing product or submits and empty query appropriate error messages are shown.
- should display all the necessary elements
As a customer, I want to be able to search for the products by name, so that I can find them more easily:
- should display search bar on every page of the shop
- should display placeholder text on search bar
- should display search suggestions and autocomplete text as user types the search
- should return results for completed and partial word matches
As a customer, I want detailed error messages if no results for my search were found, so that I search for something else:
- should display error message 'No results were found for your search [searchQuery]' if no results are found
As a customer, I want detailed error messages if I didn't input any text on search field, so that I can search for something else:
- should display error message 'Please enter a search keyword' if search query was empty