-
Bug
-
Resolution: Fixed
-
Minor
-
4.2
-
HQ 2023 Planning i2 Moppies
These failures started being detected around November/December 2022.
Use to happen together, in the same run, and also together with the MDL-76859 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).
Failed builds
- https://ci.moodle.org/job/S.03.05%20-%20Behat%20-%20Chrome%20+%20Oracle/811/
- https://ci.moodle.org/job/W311.03.01%20-%20Behat%20-%20Chrome%20+%20Postgres/551/
These 3 scenarios seem to be the affected ones (there may be more):
- Render a local H5P file as teacher
- Render a local H5P file with existing libraries
- Render local H5P file with a disabled main library
And the error, for all them is the same (javascript timeout):
001 Scenario: Render a local H5P file as teacher # /var/www/html/filter/displayh5p/tests/behat/h5p_filter.feature:92
|
Then I should see "Note that the libraries may exist in the file you uploaded, but you're not allowed to upload new libraries." # /var/www/html/filter/displayh5p/tests/behat/h5p_filter.feature:112
|
Javascript code and/or AJAX requests are not ready after 10 seconds. There is a Javascript error or the code is extremely slow (core/first). If you are using a slow machine, consider setting $CFG->behat_increasetimeout. (Exception)
|
|
002 Scenario: Render a local H5P file with existing libraries # /var/www/html/filter/displayh5p/tests/behat/h5p_filter.feature:117
|
And I should see "missing-required-library" # /var/www/html/filter/displayh5p/tests/behat/h5p_filter.feature:138
|
Javascript code and/or AJAX requests are not ready after 10 seconds. There is a Javascript error or the code is extremely slow (core/first). If you are using a slow machine, consider setting $CFG->behat_increasetimeout. (Exception)
|
|
003 Scenario: Render local H5P file with a disabled main library # /var/www/html/filter/displayh5p/tests/behat/h5p_filter.feature:176
|
Then I should see "This file can't be displayed because its content type is disabled." # /var/www/html/filter/displayh5p/tests/behat/h5p_filter.feature:199
|
Javascript code and/or AJAX requests are not ready after 10 seconds. There is a Javascript error or the code is extremely slow (core/first). If you are using a slow machine, consider setting $CFG->behat_increasetimeout. (Exception)
|
Till now, only failures in master (4.2dev) have been detected, that may be a clue.