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

Various feedback scenarios started to fail often

      While we already had a few failures annotated in the "random failures" devpad... around the July 12, 2021 week these feedback scenarios have started to fail way more often, accounting ~ 30 failures over the last 3-4 weeks:

      • Anonymous feedback in a course
      • Non anonymous feedback in a course
      • Anonymous feedback with groups in a course
      • Non anonymous feedback with groups in a course

      Split to MDL-72630:

      • Import feedback deleting old items
      • Import feedback appending new items

      Some links to failed jobs:

      All them seem to fail when asserting stuff from the result reports or while pressing a button:

      001 Scenario: Anonymous feedback with groups in a course                # /var/www/html/mod/feedback/tests/behat/groups.feature:154
            And I should see "2 (50.00 %)" in the "Yes of course" "table_row" # /var/www/html/mod/feedback/tests/behat/groups.feature:231
              "2 (50.00 %)" text was found in the "Yes of course" element but was not visible (Behat\Mink\Exception\ExpectationException)
       
      002 Scenario: Non anonymous feedback in a course # /var/www/html/mod/feedback/tests/behat/non_anonymous.feature:110
            And I press "Yes"                          # /var/www/html/mod/feedback/tests/behat/non_anonymous.feature:161
              Button matching locator "Yes" not found. (Behat\Mink\Exception\ElementNotFoundException)
      

      Finally, note that all DBs seem affected, and all the failures reported till now are master (4.0) only.

      Ciao

            dobedobedoh Andrew Lyons
            stronk7 Eloy Lafuente (stronk7)
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 50 minutes
                50m

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