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

Random "Move section with javascript" behat scenario

XMLWordPrintable

    • HQ 2023 Sprint i1.4 Moppies

      This failure has started to happen after MDL-71663 was landed. It's random (doesn't happen always) and only have detected cases happening with SQL*Server (15 times) and Oracle (7 times).

      Initially we were waiting for MDL-72569 to land, to see if the changes in that issue were able to avoid the random, but they continue happening, hence, creating this issue.

      Link: https://ci.moodle.org/view/B%20-%20master/job/W.03.04%20-%20Behat%20-%20Chrome%20+%20MSSQL/1083/

      001 Scenario: Move section with javascript                           # /var/www/html/course/tests/behat/move_sections.feature:51
            Then I should see "Test forum name" in the "Topic 3" "section" # /var/www/html/course/tests/behat/move_sections.feature:55
              "Test forum name" text was not found in the "Topic 3" element (Behat\Mink\Exception\ExpectationException)
      

      It's suspicious that only is happening with slow databases and that may indicate that behat is running too much and, perhaps, some js-pending stuff is missing / needed. But that's only a theory right now.

            tusefomal Ferran Recio
            stronk7 Eloy Lafuente (stronk7)
            Simey Lameze Simey Lameze
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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