From 18ad67511180e6bf22ed0c54e4150525fd8d5ed9 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 15 Apr 2021 12:43:27 +0800 Subject: [PATCH] MDL-71337 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 for the thorough investigation of the root cause of this issue :) --- mod/h5pactivity/tests/behat/result_longfillin.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/h5pactivity/tests/behat/result_longfillin.feature b/mod/h5pactivity/tests/behat/result_longfillin.feature index 405d5709a0d..8bf89bddcf9 100644 --- a/mod/h5pactivity/tests/behat/result_longfillin.feature +++ b/mod/h5pactivity/tests/behat/result_longfillin.feature @@ -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"