Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49816 Random behat fails
  3. MDL-50163

"And I switch to the main window" Behat step sometimes switches to the wrong window

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Run behat with --tags @mod_book,@mod_quiz,@core_question,@qtype,@report_loglive
      2. Ensure if multiple browser windows get open in a scenario then all windows are closed and 1 window starts.
      3. Also, verify that browser is not closed for a scenario without multiple windows.
      Show
      Run behat with --tags @mod_book,@mod_quiz,@core_question,@qtype,@report_loglive Ensure if multiple browser windows get open in a scenario then all windows are closed and 1 window starts. Also, verify that browser is not closed for a scenario without multiple windows.
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull Master Branch:
      wip-mdl-50163

      Description

      01. Question "First question" not found.
          In step `And the state of "First question" question is shown as "Not answered"'.                        # behat_question::the_state_of_question_is_shown_as()
          From scenario `Teachers reviewing can see all the qestions attempted in a slot'.                        # /Users/stronk7/git_moodle/testing/mod/quiz/tests/behat/attempt_redo_questions.feature:72
          Of feature `Allow students to redo questions in a practice quiz, without starting a whole new attempt'. # /Users/stronk7/git_moodle/testing/mod/quiz/tests/behat/attempt_redo_questions.feature
       
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rajeshtaneja Rajesh Taneja
              Reporter:
              rajeshtaneja Rajesh Taneja
              Peer reviewer:
              Tim Hunt
              Integrator:
              Dan Poltawski
              Tester:
              cameron1729
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                21/Dec/15