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

Behat Random fail - completion_condition_require_status.feature and editing_section_headings.feature

XMLWordPrintable

    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • wip-mdl-57595
    • Hide
      Run following for an hour and ensure it don't fail

      FYI: Update path in following commnads

      while [ $? -eq 0 ]; do vendor/bin/behat --config /home/rajesh/moodles/m/moodledata_behat/mysql/behat/behat.yml -p phantomjs-selenium /var/www/html/m/mod/quiz/tests/behat/editing_section_headings.feature:127; done
      

      while [ $? -eq 0 ]; do vendor/bin/behat --config /home/rajesh/moodles/m/moodledata_behat/mysql/behat/behat.yml -p phantomjs-selenium /var/www/html/m/mod/scorm/tests/behat/completion_condition_require_status.feature; done
      

      Show
      Run following for an hour and ensure it don't fail FYI: Update path in following commnads while [ $? -eq 0 ]; do vendor/bin/behat --config /home/rajesh/moodles/m/moodledata_behat/mysql/behat/behat.yml -p phantomjs-selenium /var/www/html/m/mod/quiz/tests/behat/editing_section_headings.feature:127; done while [ $? -eq 0 ]; do vendor/bin/behat --config /home/rajesh/moodles/m/moodledata_behat/mysql/behat/behat.yml -p phantomjs-selenium /var/www/html/m/mod/scorm/tests/behat/completion_condition_require_status.feature; done

      There has been 2 failures observed often on nightly:

      Single run

      001 Scenario: Test completion with a single sco completion. # /store/moodle/behat_whole_suite_m/mod/scorm/tests/behat/completion_condition_require_status.feature:20
            And I log in as "teacher1"                            # /store/moodle/behat_whole_suite_m/mod/scorm/tests/behat/completion_condition_require_status.feature:51
              Field matching locator "'Username'" not found.
      002 Scenario: Test completion with all scos # /store/moodle/behat_whole_suite_m/mod/scorm/tests/behat/completion_condition_require_status.feature:56
            And I log out                         # /store/moodle/behat_whole_suite_m/mod/scorm/tests/behat/completion_condition_require_status.feature:187
              exception 'WebDriver\Exception\StaleElementReference' with message 'Element not found in the cache - perhaps the page has changed since it was looked 
      

      Phantomjs

      002 Scenario: Remove a section         # /store/moodle/behat_whole_suite_m_phantom/mod/quiz/tests/behat/editing_section_headings.feature:127
            And I should not see "Heading 2" # /store/moodle/behat_whole_suite_m_phantom/mod/quiz/tests/behat/editing_section_headings.feature:154
              Javascript code and/or AJAX requests are not ready after 10 seconds. There is a Javascript error or the code is extremely slow. (Exception)
      

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Jun Pataleta Jun Pataleta
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Jake Dallimore Jake Dallimore
            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.