From 708408f29da7f7bb80905b5e3aa442772e2bb9fb Mon Sep 17 00:00:00 2001 From: gitadmin Date: Sun, 27 Sep 2026 03:07:25 +0000 Subject: [PATCH] Add the search scenario --- scenarios/search.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scenarios/search.yml 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