mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-64505 theme_classic: Behat updates for screen size false failures
This fixes some behat failures in the Classic theme, which were caused by the default screen size obfuscating page elements for behat, where a normal user would still be able to identify them.
This commit is contained in:
parent
1815657b30
commit
ba2b508ca7
4 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,7 @@ Feature: The recently accessed courses block allows users to easily access their
|
|||
When I am on "Course 1" course homepage
|
||||
And I am on "Course 2" course homepage
|
||||
And I follow "Dashboard" in the user menu
|
||||
And I change window size to "large"
|
||||
Then I should see "Course 1" in the "Recently accessed courses" "block"
|
||||
And I should see "Course 2" in the "Recently accessed courses" "block"
|
||||
And I should not see "Course 3" in the "Recently accessed courses" "block"
|
||||
|
|
|
@ -35,4 +35,5 @@ Feature: The recently accessed items block allows users to easily access their m
|
|||
Given I am on "Course 1" course homepage
|
||||
When I follow "Test forum name"
|
||||
And I follow "Dashboard" in the user menu
|
||||
And I change window size to "large"
|
||||
Then I should see "Test forum name" in the "Recently accessed items" "block"
|
Loading…
Add table
Add a link
Reference in a new issue