Last active
December 19, 2015 11:29
-
-
Save markwillis82/5947908 to your computer and use it in GitHub Desktop.
Example Behat Tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: check the correct context gets loaded for urls | |
When on a dev/test the modx context should switch | |
based on domain | |
Scenario: Check the baseUrl on the homepage | |
When am on "/" | |
Then I should see "Venues & Centres" | |
And I change to "littledown" context | |
Then I should see "Membership" | |
And I should see "Parkland" | |
Then I change to "web" context | |
And I should see "Watch Us" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: cd to dir | |
Example test | |
Scenario: go to root | |
Then I am in the root directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment