MOBILE-4362 behat: Fix tests in headless mode

Headless mode was using a smaller window size which caused the course index to be hidden by default, and that's what made tests fail.
main
Noel De Martin 2023-06-13 12:19:38 +02:00
parent affcf93df8
commit c3e713137d
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ Feature: Test decimal separators in lesson
| lesson | Offline lesson | Offline lesson descr | C1 | lesson | 1 | 1 | 9 | 1 | 1 |
# Currently there are no generators for pages. See MDL-77581.
And I log in as "teacher1"
And I change window size to "small"
And I am on "Course 1" course homepage
And I follow "Basic lesson"
And I follow "Add a question page"

View File

@ -19,6 +19,7 @@ Feature: Test decimal separators in lesson
| lesson | Offline lesson | Offline lesson descr | C1 | lesson | 1 | 1 | 9 | 1 | 1 |
# Currently there are no generators for pages. See MDL-77581.
And I log in as "teacher1"
And I change window size to "small"
And I am on "Course 1" course homepage
And I follow "Basic lesson"
And I follow "Add a question page"