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

Behat failures adding/editing H5P activities and content

XMLWordPrintable

    • 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:

      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.

            sarjona Sara Arjona (@sarjona)
            stronk7 Eloy Lafuente (stronk7)
            Carlos Escobedo Carlos Escobedo
            Simey Lameze Simey Lameze
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 5 minutes
                2h 5m

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