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

Throw an exception in the behat steps where Javascript loading takes too much time

XMLWordPrintable

    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MOODLE_26_STABLE
    • MDL-43173_master
    • Hide
      1. Run behat using phantomjs and --tags '@core_group&&~@_only_local'
      2. They SHOULD all pass
      3. Run behat using firefox and --tags '@core_group,@core_filepicker'
      4. They SHOULD all pass
      5. Run behat using chrome and --tags '@core_group,@core_filepicker'
      6. They SHOULD all pass
      Show
      Info to run behat using chrome: https://code.google.com/p/selenium/wiki/ChromeDriver Info to run behat using phantomjs: Download phantomjs binaries: http://phantomjs.org/download.html Run /wherever/you/store/it/bin/phantomjs --webdriver=4444 Run behat using phantomjs and --tags '@core_group&&~@_only_local' They SHOULD all pass Run behat using firefox and --tags '@core_group,@core_filepicker' They SHOULD all pass Run behat using chrome and --tags '@core_group,@core_filepicker' They SHOULD all pass

      With MDL-42625 integrated we know when all the page's JS are loaded, we continuously wait until all of them have finished loading, including AJAX calls, and we timeout at 10 seconds.

      We could think that if there is JS that takes up to 10 seconds to load is because there is an issue:

      • JS is broken
      • There is a performance issue

      Probably would be wise to fail the scenario so we can look for the cause and fix it

            dmonllao David Monllaó
            dmonllao David Monllaó
            Petr Skoda Petr Skoda
            Dan Poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.