Closed Bug 1572542 Opened 5 years ago Closed 5 years ago

Intermittent /webdriver/tests/switch_to_window/alerts.py | test_retain_tab_modal_status - AssertionError: no such window (404): Unable to locate window: 6442450948

Categories

(Testing :: geckodriver, defect, P1)

Version 3
defect

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: whimboo)

References

Details

Attachments

(1 file)

The problem with this test is that it uses session.get() to load the tab modal alert, which due to the navigation will trigger a new outerWindowId for the content browser. To fix that session.execute_script() has to be used.

Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Priority: P5 → P1
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/454836ef9499
[wdspec] Don't navigate in switch_to_window/alerts.py to keep the outerWindowId. r=webdriver-reviewers,ato
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/18352 for changes under testing/web-platform/tests

There was again no comment by the bot that the referenced PR has been merged. David, could you check? This looks different to https://github.com/mozilla/wpt-sync/issues/219.

Flags: needinfo?(dheiberg)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: