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"
|
|
@ -34,6 +34,7 @@ Feature: Role assignments can be made at the category level
|
|||
| Teacher | Not assignable |
|
||||
| Non-editing teacher | Not assignable |
|
||||
| Student | Not assignable |
|
||||
And I change window size to "large"
|
||||
And I log out
|
||||
And I log in as "manager"
|
||||
And I am on course index
|
||||
|
|
|
@ -42,6 +42,7 @@ Feature: Browse course list and return back from enrolment page
|
|||
And I press "Save changes"
|
||||
And I log out
|
||||
When I log in as "user2"
|
||||
And I change window size to "large"
|
||||
And I open my profile in edit mode
|
||||
And I expand "Courses" node
|
||||
And I expand "Sample category" node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue