Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49816 Random behat fails (old)
  3. MDL-52606

Random fail: Set time spent as a condition

    XMLWordPrintable

Details

    • MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • wip-mdl-52606
    • Hide

      Run below for few runs to ensure there is no fail.

      while [ $? -eq 0 ]; do vendor/bin/behat --config /home/rajesh/moodles/m/moodledata_behat/behat/behat.yml --tags @mod_lesson; done
      

      Show
      Run below for few runs to ensure there is no fail. while [ $? -eq 0 ]; do vendor/bin/behat --config /home/rajesh/moodles/m/moodledata_behat/behat/behat.yml --tags @mod_lesson; done

    Description

      I am seeing following fail in a normal run sometimes, it do pass on a rerun:

       
      01. Button matching locator "'Next page'" not found.
          In step `And I press "Next page"'.                                  # behat_forms::press_button()
          From scenario `Set time spent as a condition'.                      # /home/rajesh/moodles/stable/moodle/mod/lesson/tests/behat/completion_condition_time_spent.feature:8
          Of feature `Set time spent as a completion condition for a lesson'. # /home/rajesh/moodles/stable/moodle/mod/lesson/tests/behat/completion_condition_time_spent.feature
      
      

      and

      01. "Third page contents" text was not found in the page
          In step `Then I should see "Third page contents"'.                     # behat_general::assert_page_contains_text()
          From scenario `resume a lesson with both content then question pages'. # /home/markn/mstorage/sm/moodle/mod/lesson/tests/behat/lesson_student_resume.feature:29
          Of feature `In a lesson activity a student should'.
      

      01. "This lesson will be open on Wednesday, 1 January 2020, 8:00" text was not found in the page
          In step `Then I should see "This lesson will be open on Wednesday, 1 January 2020, 8:00"'. # behat_general::assert_page_contains_text()
          From scenario `Forbidding lesson accesses until a specified date'.                         # /home/rajesh/moodles/stable/moodle/mod/lesson/tests/behat/date_availability.feature:24
          Of feature `A teacher can set available from and deadline dates to access a lesson'.      
      

      Attachments

        Activity

          People

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Mark Nelson Mark Nelson
            David Monllaó David Monllaó
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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