mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-63094 tool_policy: Fix the cookie banner to the bottom
Floating banners cause issues with clickability in Behat as it is unable to understand that it cannot interact with the elements underneath the floating banner, or that it needs to scroll the page so that the required content is no longer beneath the floating banner. Changing the banner to be fixed to the bottom of the page during Behat runes is a reliable fix.
This commit is contained in:
parent
4d1a42fb7c
commit
5ab0e8aae3
@ -10,6 +10,10 @@
|
||||
z-index: 9999999;
|
||||
}
|
||||
|
||||
.behat-site .eupopup-container-bottom {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.eupopup-container-bottom {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
|
@ -460,7 +460,6 @@ 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user