[wdspec] Use new window command in create_window fixture
Categories
(Testing :: geckodriver, task, P1)
Tracking
(firefox80 fixed)
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.
Assignee | ||
Comment 1•4 years ago
|
||
Depends on D83798
Assignee | ||
Comment 2•4 years ago
|
||
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
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/53cdfde742e4
https://hg.mozilla.org/mozilla-central/rev/7ac192dc5d64
Assignee | ||
Comment 7•4 years ago
|
||
It looks like we have some upstream failures for infrastructure tests:
James, don't we run this kind of test in our own CI?
Assignee | ||
Comment 8•4 years ago
|
||
Updated•4 years ago
|
Comment 9•4 years ago
|
||
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.
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
Description
•