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

Make behat scenario restart more fault tolerant

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Jake Dallimore Jake Dallimore
              CiBoT CiBoT
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Jul/20

                Time Tracking

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