Closed Bug 1169644 Opened 9 years ago Closed 9 years ago
Update tests and ensure that always a window is selected after closing the active window
Seen this lately in our tests only on Windows while running them in Mozmill CI. Especially test_windows.py does not call switch_to() for the browser window when another before opened window gets closed. That means Marionette hangs around with a reference to a non-existent window and reports a failure that this.browser cannot be found. Not sure why this only happens on Windows. David, do you have an idea? I think we should not do magic calls to switch_to() in our BaseWindow.close() method, but request the test to explicitly call this method.
Most likely we don't need that cause it smells like a regression from bug 1169798 too. I will stop investigating possible fixes until the patch on the mentioned bug has been landed and tested.
Status: ASSIGNED → NEW
Depends on: 1169798
This was clearly the regression in Marionette which is causing this failure. The code we currently have does not require a change to work. Once the patch on bug 1169798 landed on all affected branches, our tests will pass again. This is a WONTFIX.
You need to log in before you can comment on or make changes to this bug.