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

Make behat scenario restart more fault tolerant

XMLWordPrintable

      We seem to be getting some bad responses from Selenium periodically and thanks to the architecture of Behat we currently end the session in a hacky way and without giving any useful information.

      We should:

      1. give useful debugging information
      2. only stop behat if we fail to get the session on the first attempt to get a session
      3. fail a single test instead of all tests

      This is a long-standing issue which has no doubt become more prominent thanks to MDL-69072 which restarts the session between every test.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Jake Dallimore Jake Dallimore
            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 - 5 hours, 31 minutes
                5h 31m

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