Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76863

Behat failures adding h5p content on Atto/TinyMCE editors

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE

      These failures started happening recently around January 2023, happening on both editors (Atto, TinyMCE).

      Use to happen together, in the same run, and also together with the MDL-76857 and MDL-76859 ones, but those are in a different issue because the failure is different.

      Failed jobs

      Scenarios

      • Add h5ps to Atto.H5P options are ignored for H5P URLs
      • Use the TinyMCE editor to upload an h5p package
        • H5P options are ignored for H5P URLs
        • TinyMCE can be used to embed an H5P activity

      Console output

      001 Scenario: H5P options are ignored for H5P URLs # /var/www/html/lib/editor/atto/plugins/h5p/tests/behat/h5p.feature:189
            When I click on "Save and display" "button"  # /var/www/html/lib/editor/atto/plugins/h5p/tests/behat/h5p.feature:197
              Curl error thrown for http POST to /session/5d4e7d55-83b2-4d18-a915-d61796006687/element/c821e149-2d29-45d2-b192-bf9d0aed7211/click
              
              Operation timed out after 30001 milliseconds with 0 bytes received (Facebook\WebDriver\Exception\WebDriverCurlException)
       
      002 Scenario: Insert an embedded h5p              # /var/www/html/lib/editor/atto/plugins/h5p/tests/behat/h5p.feature:26
            When I click on "Save and display" "button" # /var/www/html/lib/editor/atto/plugins/h5p/tests/behat/h5p.feature:33
              Curl error thrown for http POST to /session/65eae1fc-b695-4f00-9b03-15ff0868ec79/element/40cdd4e9-68c8-46dd-9c10-8126e7842e94/click
       
      003 Scenario: TinyMCE can be used to embed an H5P activity # /var/www/html/lib/editor/tiny/plugins/h5p/tests/behat/h5p.feature:28
            When I click on "Save and display" "button"          # /var/www/html/lib/editor/tiny/plugins/h5p/tests/behat/h5p.feature:34
              Curl error thrown for http POST to /session/5953ceff-861a-4269-b1dd-dde074f9c976/element/2450a8f4-eb9f-49f0-bf68-61d1d7d49816/click
              
              Operation timed out after 30001 milliseconds with 0 bytes received (Facebook\WebDriver\Exception\WebDriverCurlException)
       
      004 Scenario: A user can edit H5P content embedding with TinyMCE # /var/www/html/lib/editor/tiny/plugins/h5p/tests/behat/h5p.feature:88
            And I click on "Save and display" "button"                 # /var/www/html/lib/editor/tiny/plugins/h5p/tests/behat/h5p.feature:112
              Curl error thrown for http POST to /session/5c59c034-97a2-4f8b-bcde-cbf899684338/element/52079e3a-117c-4ca8-b473-9f584cfe36c9/click
      
      

            Unassigned Unassigned
            lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.