MDL-71939 mod_h5pactivity: Increase window size during test

The addition of the activity information moves the h5p content down
out of the window view on Firefox which causes the Check button to be
unclickable. This patch increases the window size to ensure that the
check button is visible and clickable.

Credits to Eloy <[email protected]> for the thorough investigation
of the root cause of this issue :)

This is a backport of MDL-71876 that is a backport of MDL-71337
This commit is contained in:
Jun Pataleta
2021-06-15 23:34:32 +02:00
committed by Eloy Lafuente (stronk7)
parent b8122e1de3
commit 4c6b771c2f
@@ -33,6 +33,7 @@ Feature: View essay attempt report
Given I log in as "student1"
And I am on "Course 1" course homepage
And I follow "Awesome H5P package"
And I change window size to "large"
And I switch to "h5p-player" class iframe
And I switch to "h5p-iframe" class iframe
And I set the field with xpath "//textarea" to "This is a smurfing smurf"