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

Missing switch_window tags and random failure in after_scenario

XMLWordPrintable

      1. There are features with missing switch_window
      2. If more than 1 window is open then after_scenario sometimes crashes browser. This was introduced to avoid session propagating, but it's still a problem (MDL-57185), so after_scenario can be removed IMO.

            And the field "Secure icon URL" matches value "https://download.moodle.org/unittest/test.jpg"          # behat_forms::the_field_matches_value()
            And I press "Cancel"                                                                                   # behat_forms::press_button()
            And I switch to the main window                                                                        # behat_general::switch_to_the_main_window()
          â"‚
          ╳  Window not found. The browser window may have been closed.
          ╳  Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
          ╳  System info: host: '22bc9888dedc', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-34-generic', java.version: '1.7.0_101'
          ╳  Driver info: driver.version: unknown (WebDriver\Exception\NoSuchWindow)
          â"‚
          â""â"€ @AfterScenario # behat_hooks::after_scenario()
        

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Ankit Agarwal Ankit Agarwal
            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.