From 42fec9e752d3826079055715ad9bb1534f433814 Mon Sep 17 00:00:00 2001 From: Daniel Thee Roperto Date: Wed, 2 Nov 2016 18:16:35 +1100 Subject: [PATCH] Temporarly disabling one scenario test, see Issue #68. --- 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 6f54dc5..8fb5a8e 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 |