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

Unresponsive script alerts kills test suite runs

    XMLWordPrintable

    Details

      Description

      When the Selenium response to a command takes a while the browser becomes unresponsive, if it is unresponsive for too much time it appears a beautiful JS dialog.

      Looking into the problem, the commands that takes more time are the ones that are asking for the whole page contents to look for texts, in fact the step I should see "whatever" is currently (based on the behat framework default behaviour) getting all page's contents (through //html xpath) and from there getting it's text() to find if it matches the "whatever" text with a regex. We must improve this, not only to solve the blocker issue, also to improve performance when possible.

      Important to run the whole suite features also using saucelabs to ensure all continues working as expected as these changes will affect most of the .feature files.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmonllao David Monllaó
              Reporter:
              dmonllao David Monllaó
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Michael de Raadt
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Jul/13