diff --git a/tests/behat/manage_outages.feature b/tests/behat/manage_outages.feature index 2907d85..468cf99 100644 --- a/tests/behat/manage_outages.feature +++ b/tests/behat/manage_outages.feature @@ -60,12 +60,12 @@ Feature: Manage outages | stopped | see | see | not see | not see | not see | -# Scenario: Create an outage using defaults. -# Given I am on Outage Management Page -# When I press "Create outage" -# And I press "Save changes" -# And I should not see "No outages found." in the "#section_planned_outages" "css_element" -# And I should see "No outages found." in the "#section_outage_history" "css_element" + Scenario: Create an outage using defaults. + Given I am on Outage Management Page + When I press "Create outage" + And I press "Save changes" + And I should not see "No outages found." in the "#section_planned_outages" "css_element" + And I should see "No outages found." in the "#section_outage_history" "css_element" Scenario: View an outage which should open in a new window or tab. @@ -76,27 +76,27 @@ Feature: Manage outages And I should see "Example of waiting outage" -# Scenario: Clone an outage. -# Given there is a "waiting" outage -# And I am on Outage Management Page -# When I click on the "Clone" action button -# Then I should see "Clone outage" -# And I set the field "title" to "My cloned outage" -# And I press "Save changes" -# Then I should see "Example of waiting outage" -# And I should see "My cloned outage" + Scenario: Clone an outage. + Given there is a "waiting" outage + And I am on Outage Management Page + When I click on the "Clone" action button + Then I should see "Clone outage" + And I set the field "title" to "My cloned outage" + And I press "Save changes" + Then I should see "Example of waiting outage" + And I should see "My cloned outage" -# Scenario: Edit an outage. -# Given there is a "warning" outage -# And I am on Outage Management Page -# And I should see "Example of warning outage" -# When I click on the "Edit" action button -# Then I should see "Edit outage" -# And I set the field "title" to "My previous warning outage" -# And I press "Save changes" -# Then I should not see "Example of warning outage" -# And I should see "My previous warning outage" + Scenario: Edit an outage. + Given there is a "warning" outage + And I am on Outage Management Page + And I should see "Example of warning outage" + When I click on the "Edit" action button + Then I should see "Edit outage" + And I set the field "title" to "My previous warning outage" + And I press "Save changes" + Then I should not see "Example of warning outage" + And I should see "My previous warning outage" Scenario: Delete an outage