-
Bug
-
Resolution: Fixed
-
Minor
-
4.1, 4.2
-
HQ 2023 Sprint i1.4 Moppies
These failures started being detected around November/December 2022.
Use to happen together, in the same run, and also together with the MDL-76857 ones, but those are in a different issue because the failure is different.
Normally on Oracle or slow environments (for example I was able to reproduce them sometimes in my old windows laptop, but hardly in my Mac).
Some links:
- https://ci.moodle.org/view/B%20-%20401/job/W401.03.05%20-%20Behat%20-%20Chrome%20+%20Oracle/25/
- https://ci.moodle.org/job/W.03.05%20-%20Behat%20-%20Chrome%20+%20Oracle/1458/
These 6 scenarios seem to be the affected ones (there may be more):
- Add H5P activity using copy to content bank file
- Add H5P activity using link to content bank file
- Add H5P activity using private user file
- Edit H5P content from a block using copy to content bank file
- Edit H5P content from a forum post
- Edit H5P content from a page using link to private file
- Edit H5P content from a page using external URL
They all belong to various "inline_editing_content.feature" feature files in different places.
And the error, for all them is similar (text was found but was not visible):
001 Scenario: Edit H5P content from a page using link to private file # /var/www/html/filter/displayh5p/tests/behat/inline_editing_content.feature:38
|
And I should see "Hello world!" # /var/www/html/filter/displayh5p/tests/behat/inline_editing_content.feature:61
|
"Hello world!" text was found but was not visible (Behat\Mink\Exception\ExpectationException)
|
|
002 Scenario: Add H5P activity using link to content bank file # /var/www/html/mod/h5pactivity/tests/behat/inline_editing_content.feature:29
|
And I should see "Hello world!" # /var/www/html/mod/h5pactivity/tests/behat/inline_editing_content.feature:52
|
"Hello world!" text was found but was not visible (Behat\Mink\Exception\ExpectationException)
|
|
003 Scenario: Add H5P activity using private user file # /var/www/html/mod/h5pactivity/tests/behat/inline_editing_content.feature:153
|
And I should see "Hello world!" # /var/www/html/mod/h5pactivity/tests/behat/inline_editing_content.feature:173
|
"Hello world!" text was found but was not visible (Behat\Mink\Exception\ExpectationException)
|
|
004 Scenario: Add H5P activity using copy to content bank file # /var/www/html/mod/h5pactivity/tests/behat/inline_editing_content.feature:91
|
And I should see "Hello world!" # /var/www/html/mod/h5pactivity/tests/behat/inline_editing_content.feature:114
|
"Hello world!" text was found but was not visible (Behat\Mink\Exception\ExpectationException)
|
|
005 Scenario: Edit H5P content from a block using copy to content bank file # /var/www/html/filter/displayh5p/tests/behat/inline_editing_content.feature:220
|
And I should see "Hello world!" # /var/www/html/filter/displayh5p/tests/behat/inline_editing_content.feature:236
|
"Hello world!" text was found but was not visible (Behat\Mink\Exception\ExpectationException)
|
|
006 Scenario: Edit H5P content from a forum post # /var/www/html/mod/forum/tests/behat/h5p_inline_editing_content.feature:79
|
And I should see "Hello world!" # /var/www/html/mod/forum/tests/behat/h5p_inline_editing_content.feature:96
|
"Hello world!" text was found but was not visible (Behat\Mink\Exception\ExpectationException)
|
|
007 Scenario: Edit H5P content from a page using external URL # /var/www/html/filter/displayh5p/tests/behat/inline_editing_content.feature:178
|
And I click on "Save and display" "button" # /var/www/html/filter/displayh5p/tests/behat/inline_editing_content.feature:188
|
Curl error thrown for http POST to /session/ae3abae9-84d8-4bc9-8b14-4ea9f8beb42b/element/72703a77-6d3a-4bea-910a-2f2803af37bc/click
|
Both 401_STABLE and master (4.2dev) affected, it seems.
- Discovered while testing
-
MDL-77273 improved behat error detection
-
- Open
-
- has a non-specific relationship to
-
MDL-76857 Behat failures rendering various H5P local files
-
- Closed
-
- has been marked as being related by
-
MDL-76863 Behat failures adding h5p content on Atto/TinyMCE editors
-
- Open
-
- is duplicated by
-
MDL-82277 Random failures on "Then if a second teacher deploys the package, I can see it." H5P Behat test after MDL-77665
-
- Closed
-