MDL-62948 tool_policy: Increase window size
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 20 Jul 2018 03:10:44 +0000 (11:10 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 20 Jul 2018 03:10:49 +0000 (11:10 +0800)
In the default window size the floating footer detaling the privacy
policies covers the "Login as guest" button.

admin/tool/policy/tests/behat/consent.feature

index 6c504eb..d345b23 100644 (file)
@@ -460,6 +460,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign
       | This privacy policy | 1    |          | full text3 | short text3 | active   | loggedin |
       | This guests policy  | 0    |          | full text4 | short text4 | active   | guest    |
     And I am on site homepage
+    And I change window size to "large"
     And I follow "Log in"
     When I press "Log in as a guest"
     Then I should see "If you continue browsing this website, you agree to our policies"