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

Improve behat resilience with pendingJS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.9, 3.6.7, 3.7.3, 3.8.1, 3.9
    • Fix Version/s: None
    • Labels:

      Description

      Improve use of our JS in behat with pending promise.

      This issue covers a number of areas where I've encountered random behat failure because Behat was trying to perform the next action before the page had finished doing it's job.

      Note: You may not be able to reproduce any of the original issues. Mostly they start to show up when we upgrade our webdriver. This is likely because newer versions of Firefox are more efficient than the versions we're testing against right now. It may also be due to performance improvements in the W3C webdriver vs. the JsonWire specification.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Lyons
              Reporter:
              dobedobedoh Andrew Lyons
              Peer reviewer:
              Simey Lameze Simey Lameze
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 1 minute
                  4h 1m