Hi,
I have the following example:
Scenario: Clicking through the language filters and checking the results and removing the language filter by the x
Given I keep the number of books on the search result page
When I click one by one through the list of the "LANGUAGE" filter
Then I should see less books then the original number that I kept
And I should see the item of the "LANGUAGE" filter as "ACTIVATED"
But I do not see anymore the other items of the "LANGUAGE" filter
And when I click on random book
Then I should see the "LANGUAGE" property has the selected item on the Book details page
When I am navigating back with the browsers back button
Then I should see the same amount of books as previous
And I should see the item of the "LANGUAGE" filter as "ACTIVATED"
But I do not see anymore the other items of the "LANGUAGE" filter
Then I refresh the page with the browsers button
Then I should see the same amount of books as previous
And I should see the item of the "LANGUAGE" filter as "ACTIVATED"
But I do not see anymore the other items of the "LANGUAGE" filter
Then I remove the item of the "LANGUAGE" filter from the activated filters
Then I should see the same amount of books as the first time without any filter
Are there any way that I could force cucumber to execute this scenario in multiple times?
The main reason for this is that the data what the scenario is using is a dynamic one.
Hi,
I have the following example:
Scenario: Clicking through the language filters and checking the results and removing the language filter by the x
Given I keep the number of books on the search result page
When I click one by one through the list of the "LANGUAGE" filter
Then I should see less books then the original number that I kept
And I should see the item of the "LANGUAGE" filter as "ACTIVATED"
But I do not see anymore the other items of the "LANGUAGE" filter
And when I click on random book
Then I should see the "LANGUAGE" property has the selected item on the Book details page
When I am navigating back with the browsers back button
Then I should see the same amount of books as previous
And I should see the item of the "LANGUAGE" filter as "ACTIVATED"
But I do not see anymore the other items of the "LANGUAGE" filter
Then I refresh the page with the browsers button
Then I should see the same amount of books as previous
And I should see the item of the "LANGUAGE" filter as "ACTIVATED"
But I do not see anymore the other items of the "LANGUAGE" filter
Then I remove the item of the "LANGUAGE" filter from the activated filters
Then I should see the same amount of books as the first time without any filter
Are there any way that I could force cucumber to execute this scenario in multiple times?
The main reason for this is that the data what the scenario is using is a dynamic one.
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
And how do you walk through with your approach a list of langauges.A list of languages that it's not a fixed list, nor the length nor the content...
I see the benefit of this approach but from the other hand you are hiding the testing details inside the feature file, so if you want to get more information about what and how is going to be tested you have to go to the step-definition.