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

Random Behat failures from mod/quiz/tests/behat/quiz_activity_availability.feature

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE

      The new Behat scenarios added in MDL-80479 cause random failures. We just saw one like

      And I should see "##+2 days##%A, %d %B %Y, %I:%M##": "Friday, 10 May 2024, 9:49" text was not found in the page (Behat\Mink\Exception\ExpectationException)

      The problem is that on line 72 it creates the quiz with timeclose ##+2 days## which might be, say 9:48:29, then some time later , perhaps at 9:49:01, line 81 checks And I should see "<timeclose>%A, %d %B %Y, %I:%M##" and that fails.

            Unassigned Unassigned
            timhunt Tim Hunt
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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