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

Improve behat resilience with pendingJS

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 3.5.9, 3.6.7, 3.7.3, 3.8.1, 3.9
    • None

    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

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Simey Lameze 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