From ff59dac02347171caa03f0cdaa661e7c2196b230 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Wed, 3 Oct 2018 15:27:21 +1300 Subject: [PATCH] Revert "Travis is freezing with a few behat tests which creates outages. It works fine locally both manually and with selenium. Ignoring tests and opening issue #77 to deal with it later as the code works fine." This reverts commit fc2349f312dae29d651ea5c2cc2deeb841cc331f. --- tests/behat/manage_outages.feature | 50 +++++++++++++++--------------- 1 file changed, 25 insertions(+), 25 deletions(-) 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