1. [US01] Product Search
As a website user, I want to search products by a model name so that I can find the information on the product.
M-1. I enter an exact model name
Peoduct Detail
M-2. End of story
End of Story
A1-1. I enter a partial model name
Product 1
Product 2
Product 3
A1-2. I select a product
Peoduct Detail
A1-3. End of story
End of Story
E1-1. I search with an empty keyword
Invalid model name. Please try again.
E1-2. I go back to the search form
E1-3. Go back to
M-1
Story: [US01] Product Search
Main Scenario:
Given I open the website
M-1. When I enter an exact model name
Then the system shows the product information
Alternative Scenario 1:
Given I open the website
A1-1. When I enter a partial model name
Then the system shows a list of products
A1-2. When I select a product
Then the system shows the product information
Exception Scenario 1:
Given I open the website
E1-1. When I search with an empty keyword
Then the system shows an error message
E1-2. When I go back to the search form
#E1-3. Go back to M-1