Skip to content

Commit

Permalink
MDL-66979 scorm: Increase behat window size
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
andrewnicols committed Jan 22, 2021
1 parent 45b0f89 commit d2ceac9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/scorm/tests/behat/save_progress_on_unload.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2ceac9

Please sign in to comment.