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

Random behat fails with review

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_33_STABLE

      Description

      We're seeing this fail quite regularly on our nightly testing infrastructure. It's not every time, and I've not been able to reproduce it locally yet.
      This particular example is from an MSSQL run against PHP 5.6 (mssql driver) on Linux and Moodle 3.3 (weekly)

      --- Failed steps:
       
      001 Scenario: Test review mode with all scos completed. # /var/www/html/moodle/mod/scorm/tests/behat/multisco_review_mode.feature:54
            Then I should see "Review mode"                   # /var/www/html/moodle/mod/scorm/tests/behat/multisco_review_mode.feature:172
              "Review mode" text was not found in the page (Behat\Mink\Exception\ExpectationException)
       
      552 scenarios (547 passed, 1 failed, 4 skipped)
      13612 steps (13567 passed, 1 failed, 44 skipped)
      207m11.45s (168.28Mb)
      
      

      The faildump screenshot indeed shows it without the "Review mode" link:

      I'll try and look into this some more tomorrow, and to track down all failures and see if they belong to any pattern.
      Heads up to Dan Marsden.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dobedobedoh Andrew Nicols
                Participants:
                Component watchers:
                Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: