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

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              dobedobedoh Andrew Nicols
              Peer reviewer:
              Eloy Lafuente (stronk7)
              Integrator:
              Jake Dallimore
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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