From 2b42e986e3acc266a0f53d9127f1159d3023f60c Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Mon, 24 Jun 2024 14:40:22 +0100 Subject: [PATCH] MDL-82277 mod_h5pactivity: less fragile error Behat step assertion. Avoids frequent failures related to iframe resizing/timing. --- mod/h5pactivity/tests/behat/h5pactivity_deployment.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/h5pactivity/tests/behat/h5pactivity_deployment.feature b/mod/h5pactivity/tests/behat/h5pactivity_deployment.feature index 6206e134037..425feaeeb31 100644 --- a/mod/h5pactivity/tests/behat/h5pactivity_deployment.feature +++ b/mod/h5pactivity/tests/behat/h5pactivity_deployment.feature @@ -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.