From d2ceac9d3d06abf7f571be8108bbdd547455c794 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 26 Jun 2020 21:34:30 +0800 Subject: [PATCH] MDL-66979 scorm: Increase behat window size On Firefox there can be some issues with ensuring that all nodes are visible in order to click them. This is likely an upstream geckodriver bug and not one that can be easily addressed across all of Moodle. In this instance the "Next" button is just outside the Visible Window, but it is in an iFrame which is fully visible. In this situation Firefox is unable to click the button but does not error. --- mod/scorm/tests/behat/save_progress_on_unload.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/scorm/tests/behat/save_progress_on_unload.feature b/mod/scorm/tests/behat/save_progress_on_unload.feature index 66c274aeb06..d6b6550953e 100644 --- a/mod/scorm/tests/behat/save_progress_on_unload.feature +++ b/mod/scorm/tests/behat/save_progress_on_unload.feature @@ -15,6 +15,7 @@ Feature: Confirm progress gets saved on unload events | user | course | role | | teacher1 | C1 | editingteacher | | student1 | C1 | student | + And I change window size to "large" @javascript Scenario: Test progress gets saved correctly when the user navigates away from the scorm activity