diff --git a/scenarios/search.yml b/scenarios/search.yml new file mode 100644 index 0000000..1c358b7 --- /dev/null +++ b/scenarios/search.yml @@ -0,0 +1,11 @@ +name: search +title: Search for a product and land on a results page +max_steps: 20 +steps: + - open the shop front page + - find the search field + - search for a word taken from a product name + - wait for the results +judge: + - the page is a results page, not the home page + - at least one result matches the word that was searched for