Fix some behat steps.

This commit is contained in:
Dan Marsden
2018-10-05 10:38:57 +13:00
parent 6cea3f52c2
commit 6c69d46ebe
4 changed files with 4 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ Feature: Change the default settings
And I am an administrator
Scenario Outline: Check if I can save the default settings.
When I navigate to "Settings" node in "Site administration > Plugins > Authentication > Outage manager"
When I navigate to "Plugins > Authentication > Outage manager > Settings" in site administration
And I set the following fields to these values:
| s_auth_outage_default_autostart | <autostart> |
| s_auth_outage_default_warning_duration[v] | <warning> |

View File

@@ -13,7 +13,6 @@ Feature: IP Blocker
Scenario: Default IP Whitelist Settings
Given I am an administrator
And I am on homepage
When I navigate to "Settings" node in "Site administration > Plugins > Authentication > Outage manager"
When I navigate to "Plugins > Authentication > Outage manager > Settings" in site administration
Then I should see "Allowed IP list"
And I should see an empty settings text area "allowedips"

View File

@@ -18,7 +18,7 @@ Feature: Manage outages
Scenario: Check if I can navigate to management page.
Given I am on homepage
When I navigate to "Manage" node in "Site administration > Plugins > Authentication > Outage manager"
When I navigate to "Plugins > Authentication > Outage manager > Manage outages" in site administration
Then I should see "Planned outages"
And I should see "No outages found." in the "#section_planned_outages" "css_element"
And I should see "Outage history"