[wdspec] Create test for recommended preferences of protocols supported by the Remote Agent
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Tracking
(firefox125 fixed)
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m10])
Attachments
(3 files)
This is a follow-up from bug 1882748 which requires some extra wdspec tests for the various Remote Agent protocols. It should iterate over all the remote.active-protocols values and test that the common recommended preferences are always applied.
The tests aren't that easy to write because:
- We cannot use Marionette (WebDriver classic) to start the browser because it would have already set these preferences
- We should use a new profile with the common user preferences as defined by wptrunner
- Transfer these common user preferences via the
full_configurationto pytest - Allow the
Browserclass (and fixture) to accept anew_profileargument and set the default set of preferences
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
Depends on D203724
| Assignee | ||
Comment 3•2 years ago
|
||
Depends on D203725
| Assignee | ||
Comment 4•2 years ago
|
||
Somehow the new test fails on Windows debug only:
https://treeherder.mozilla.org/jobs?repo=try&revision=6d1952f6caa82b7be3c374b6849954820b0e34f6&selectedTaskRun=faWzI1a-QB6gmO01QaJ2jA.0
I'm going to push with trace level logs enabled to see what might cause it:
https://treeherder.mozilla.org/jobs?repo=try&revision=cf295c8ef1b51bb95723fe557f2fcfe9d2989d17
| Assignee | ||
Comment 5•2 years ago
|
||
We have actually set all the recommended preferences, including remote.prefs.recommended.applied one. However, despite writing the initial batch of preferences to the file, the one we need isn't there yet. Consequently, Firefox will eventually rewrite the preferences, and we must wait until then.
I've pushed another try build:
https://treeherder.mozilla.org/jobs?repo=try&revision=9818d27ab7ee8526e0dde01f098025d866ce3192
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
https://hg.mozilla.org/mozilla-central/rev/5e813fc56c68
https://hg.mozilla.org/mozilla-central/rev/2208179cab4b
https://hg.mozilla.org/mozilla-central/rev/12faf3d7baff
Description
•