[wdspec] Traverse history tests can fail when the URL hasn't been updated yet
Categories
(Remote Protocol :: WebDriver BiDi, defect, P2)
Tracking
(firefox123 fixed, firefox124 fixed)
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Whiteboard: [webdriver:m10], [wptsync upstream])
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
As of now the BiDi spec is a bit vague and implementations do not wait until the navigation to the page in browser history has actually started, but only until the history index has been set. As such the currently existing tests can fail especially for slow running builds where the URL hasn't been updated yet.
As such we should not run a single assertion only but use the Poll
feature to wait until the URL is actually set.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Until the command isn't completely specified and implemented
it doesn't await for the navigation to be completed. As such
the tests will have to temporarily await for it.
Depends on D199887
Assignee | ||
Updated•1 year ago
|
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f2762ac7ae9c
https://hg.mozilla.org/mozilla-central/rev/5e806fd0138f
Assignee | ||
Comment 7•1 year ago
|
||
Comment on attachment 9376984 [details]
Bug 1877096 - [wdspec] Fix AsyncPoll.until() to correctly await the result of the condition.
Beta/Release Uplift Approval Request
- User impact if declined: None, test-only changes
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): No risk, the test now awaits for the URL to have changed.
- String changes made/needed:
- Is Android affected?: Yes
Assignee | ||
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Comment on attachment 9376984 [details]
Bug 1877096 - [wdspec] Fix AsyncPoll.until() to correctly await the result of the condition.
Approved for 123 beta 8, thanks.
Updated•1 year ago
|
Comment 10•1 year ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/7c22e3bc3b02
https://hg.mozilla.org/releases/mozilla-beta/rev/312508bbb53c
Description
•