Closed Bug 1652973 Opened 4 years ago Closed 4 years ago

[wdspec] Use new window command in create_window fixture

Categories

(Testing :: geckodriver, task, P1)

task

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

The new window command is supported by all the drivers as it looks like:

https://wpt.fyi/results/webdriver/tests/new_window/new_window.py?label=master&label=stable&aligned

To do so we would have to add an API to the webdriver client. An earlier attempt has been tried via this patch, but it was abandoned at the time.

Depends on: 1653281

Now that each driver supports the new window command, we can make use of it
as replacement for the create_window fixture.

Given that there is no need to check the type of the new window,
this implementation doesn't add a check for that.

Depends on D83799

Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Priority: P3 → P1
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/53cdfde742e4 [wdspec] Move close() method of webdriver client into the Window class. r=jgraham https://hg.mozilla.org/integration/autoland/rev/7ac192dc5d64 [wdspec] Replace create_window fixture with new window command. r=jgraham
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/24647 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Upstream PR was closed without merging
Status: RESOLVED → REOPENED
Flags: needinfo?(james)
Resolution: FIXED → ---

We don't currently, but you can run them locally using ./mach wpt-unittest. Might not be too hard to set them up as a CI job iff tox is available on the images. Otherwise it's a bigger job.

Flags: needinfo?(james)
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb64d0a7a99c [webdriver] Fix left-over for move of 'close()' method to window class. r=jgraham
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Upstream PR was closed without merging
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: