Hi,
I want to test the following scenario for Multiple pages:
Scenario: Price filter
Given the User opens popular pages for search filter
When the User selects the in Price filter
Then the User can see the items filtered according to selected price
And modifying the price filter would update the page according to new price values
And clicking on Price Remove Filter will load original page
In the Given ..., I've mentioned "popular pages". The list of popular pages or URLs are stored in the database and they are around 50 URLS for which I want to run the Scenario.
The problem is I am confused where to put the loop. I can't put it in Given or When or Then because I want the loop to go through Given, When and Then completely and not just one method.
Any tips?