I am trying to test a feature and ensure it shows itself on any page. How can I implement a custom step in my context class for something like
Scenario: ...
Given I am on any page
Then I should see "..."
Then ...
without using 100 separate lined calls to MinkContext::visit for the 100 different parts of the site (example.com/a/, example.com/b/, example.com/a/a/ ...)?
Aucun commentaire:
Enregistrer un commentaire