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

Random SCORM and lesson completion behat failure

XMLWordPrintable

      We had, from the past, a few (2-3) failures like this already annotated in our "random failures" document:

      001 Scenario: View automatic completion items as a student                                                   # /var/www/html/mod/scorm/tests/behat/scorm_activity_completion.feature:45
            And the "Do all parts of this activity" completion condition of "Music history" is displayed as "done" # /var/www/html/mod/scorm/tests/behat/scorm_activity_completion.feature:81
              "Done: Do all parts of this activity" text was not found in the "div[aria-label='Completion requirements for Music history']" element (Behat\Mink\Exception\ExpectationException)
      

      But, recently, they have started to fail often. Normally with Oracle runs and, specifically we have detected 311_STABLE and master failures (there isn't any right now in older branches though take that with a pinch of salt).

      In our "failures document" we had this annotated, just in case it helps:

      probably introduced by MDL-32103, notably with Oracle, since 20 Sept 2021 (chrome bump?) is happening often

      Also, note that lesson (less often) is also failing in a similar way:

      Link: https://ci.moodle.org/job/W.02.05%20-%20Behat%20-%20Goutte%20+%20Oracle/1414/

      001 Scenario: View automatic completion items as a student                                                           # /var/www/html/mod/lesson/tests/behat/lesson_activity_completion.feature:56
            And the "Spend at least 1 sec on this activity" completion condition of "Music history" is displayed as "todo" # /var/www/html/mod/lesson/tests/behat/lesson_activity_completion.feature:59
              "To do: Spend at least 1 sec on this activity" text was not found in the "div[aria-label='Completion requirements for Music history']" element (Behat\Mink\Exception\ExpectationException)
      

      Ciao

        1. image-2021-11-26-17-16-26-162.png
          14 kB
          André Schild
        2. lesson_done_too_early.png
          35 kB
          Eloy Lafuente (stronk7)
        3. two-forms-sco.png
          70 kB
          Eloy Lafuente (stronk7)

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Dan Marsden Dan Marsden
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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