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:
Michael Hawkins 2019-02-21 16:26:47 +08:00
parent 1815657b30
commit ba2b508ca7
4 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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