MDL-82792 h5p: Fix random behat failures

We've started seeing various failures in Firefox and Classic.
Increasing the default window size fixes them.
This commit is contained in:
Sara Arjona 2024-08-14 10:17:43 +02:00
parent a75365f2e4
commit bd447a102d
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,8 @@ Feature: View activity completion information in the h5p activity
| packagefilepath | h5p/tests/fixtures/filltheblanks.h5p |
Scenario: View automatic completion items
Given I am on the "Music history" "h5pactivity activity" page logged in as teacher1
Given I change window size to "large"
And I am on the "Music history" "h5pactivity activity" page logged in as teacher1
# Teacher view.
And "Music history" should have the "View" completion condition
And "Music history" should have the "Receive a grade" completion condition

View File

@ -30,7 +30,8 @@ Feature: Pass grade activity completion information in the h5p activity
Scenario: View automatic completion items
# Teacher view.
Given I am on the "Music history" "h5pactivity activity" page logged in as teacher1
Given I change window size to "large"
And I am on the "Music history" "h5pactivity activity" page logged in as teacher1
And "Music history" should have the "View" completion condition
And "Music history" should have the "Receive a grade" completion condition
And "Music history" should have the "Receive a passing grade" completion condition