Skip to content

Commit

Permalink
Merge branch 'MDL-76857-39' of https://github.com/sarjona/moodle into…
Browse files Browse the repository at this point in the history
… MOODLE_39_STABLE
  • Loading branch information
junpataleta committed May 2, 2023
2 parents b90b0e6 + e8cd8fc commit ba790c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions filter/displayh5p/tests/behat/h5p_filter.feature
Expand Up @@ -69,6 +69,7 @@ Feature: Render H5P content using filters
And I click on "Insert H5P" "button" in the "Insert H5P" "dialogue"
And I wait until the page is ready
When I click on "Save and display" "button"
And I should see "PageName1" in the "page-header" "region"
# Switch to iframe created by filter
And I switch to "h5p-iframe" class iframe
# Switch to iframe created by embed.php page
Expand Down Expand Up @@ -104,6 +105,7 @@ Feature: Render H5P content using filters
And I click on "Insert H5P" "button" in the "Insert H5P" "dialogue"
And I wait until the page is ready
When I click on "Save and display" "button"
And I should see "PageName1" in the "page-header" "region"
# Switch to iframe created by filter
And I switch to "h5p-iframe" class iframe
Then I should see "Note that the libraries may exist in the file you uploaded, but you're not allowed to upload new libraries."
Expand All @@ -129,6 +131,7 @@ Feature: Render H5P content using filters
And I click on "Insert H5P" "button" in the "Insert H5P" "dialogue"
And I wait until the page is ready
And I click on "Save and display" "button"
And I should see "PageName1" in the "page-header" "region"
# Switch to iframe created by filter
And I switch to "h5p-iframe" class iframe
# Libraries don't exist, so an error should be displayed.
Expand All @@ -152,6 +155,7 @@ Feature: Render H5P content using filters
And I click on "Insert H5P" "button" in the "Insert H5P" "dialogue"
And I wait until the page is ready
And I click on "Save and display" "button"
And I should see "PageName2" in the "page-header" "region"
# Switch to iframe created by filter
And I switch to "h5p-iframe" class iframe
# Switch to iframe created by embed.php page
Expand Down

0 comments on commit ba790c8

Please sign in to comment.