From 20df09d3e9d87ae4262f3fd502d0bc45bde9412c Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Wed, 3 Oct 2018 15:28:03 +1300 Subject: [PATCH] Revert "Temporarly disabling one scenario test, see Issue #68." This reverts commit 42fec9e752d3826079055715ad9bb1534f433814. --- tests/behat/warningbar.feature | 72 +++++++++++++++++----------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/tests/behat/warningbar.feature b/tests/behat/warningbar.feature index 6be9c40..e27f7f8 100644 --- a/tests/behat/warningbar.feature +++ b/tests/behat/warningbar.feature @@ -16,41 +16,41 @@ Feature: Warning bar Given the authentication plugin "outage" is enabled -# Scenario: This is how an outage should happend without maintenance mode and manual finish. -# Given there is the following outage: -# | warnbefore | startsin | stopsafter | -# | 10 | 20 | 10 | -# When I am on homepage -# Then I should not see the warning bar -# When I wait until the outage warns -# And I reload the page -# Then I should see "Shutting down in" in the warning bar -# When I wait until the outage starts -# Then I should see "Back online at" in the warning bar -# When I wait until the outage stops -# Then I should see "We are back online!" in the warning bar -# When I reload the page -# Then I should not see the warning bar - - - Scenario Outline: Some stages should show its own warning message. - Given there is a "" outage - When I am on homepage - Then I should see "" in the warning bar - - Examples: - | type | see | - | warning | Shutting down in | - | ongoing | Back online at | - - - Scenario Outline: Some stages should not have a warning bar. - Given there is a "" outage + Scenario: This is how an outage should happend without maintenance mode and manual finish. + Given there is the following outage: + | warnbefore | startsin | stopsafter | + | 10 | 20 | 10 | When I am on homepage Then I should not see the warning bar - - Examples: - | type | - | waiting | - | finished | - | stopped | + When I wait until the outage warns + And I reload the page + Then I should see "Shutting down in" in the warning bar + When I wait until the outage starts + Then I should see "Back online at" in the warning bar + When I wait until the outage stops + Then I should see "We are back online!" in the warning bar + When I reload the page + Then I should not see the warning bar +# +# +# Scenario Outline: Some stages should show its own warning message. +# Given there is a "" outage +# When I am on homepage +# Then I should see "" in the warning bar +# +# Examples: +# | type | see | +# | warning | Shutting down in | +# | ongoing | Back online at | +# +# +# Scenario Outline: Some stages should not have a warning bar. +# Given there is a "" outage +# When I am on homepage +# Then I should not see the warning bar +# +# Examples: +# | type | +# | waiting | +# | finished | +# | stopped |