Skip to content

Commit

Permalink
MDL-82277 mod_h5pactivity: less fragile error Behat step assertion.
Browse files Browse the repository at this point in the history
Avoids frequent failures related to iframe resizing/timing.
  • Loading branch information
paulholden committed Jun 24, 2024
1 parent ad7fc69 commit b8fa79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/h5pactivity/tests/behat/h5pactivity_deployment.feature
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Feature: Undeployed H5P activities packages should be available only to any user
beforehand. Then if a second teacher deploys the package, I can see it.
Given I am on the "Music history" "h5pactivity activity" page logged in as student1
And I switch to "h5p-player" class iframe
And I should see "This file can't be displayed"
And "This file can't be displayed because it has been uploaded by a user without the required capability to deploy H5P content" "text" should exist
And I switch to the main frame
And I log out
# Then teacher2 will be allowed to deploy the package.
Expand Down

0 comments on commit b8fa79c

Please sign in to comment.