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

The behat 'I wait "x" seconds' step unnecessarily requires JS

    XMLWordPrintable

Details

    Description

      At the moment this step passes straight to the getSession()->wait(), which waits for x-thousand milliseconds and then runs a piece of JS. This meanst hat if you need to wait, you need JS.

      This step is used in several places to wait for a timeout to expire (e.g. badges + forum maxedit time). In these cases, not only are we waiting for 61+ seconds, we're also requiring JS in order to do so.

      We should have a non-JS fallback of using PHP sleep instead.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Rajesh Taneja Rajesh Taneja
              David Monllaó David Monllaó
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Sep/15