For some reason, when adding an H5P in behat having "embed" or "copyright" options show some extra text after the iframe.
Steps to reproduce:
- Edit lib/editor/tiny/plugins/h5p/tests/behat/h5p.feature and add an "And I pause" in the "H5P options are ignored for H5P URLs" scenario just after "When I click on "Save and display" "button"" (line 155 in the current main).
- Execute the scenario in firefox or chrome
- Expected: the H5P is shown as in a normal enviroment
- What happens: after the iframe there's a "?=embed=1" message.