[wpt-sync] Sync PR 27195 - WebDriver Bidi tests with new Py3 WebSockets dependencies
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox88 fixed)
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
75.87 KB,
text/plain
|
Details |
Sync web-platform-tests PR 27195 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27195
Details from upstream follow.
b'Shengfa Lin <shengfa@google.com>' wrote:
WebDriver Bidi tests with new Py3 WebSockets dependencies
Created a prototype involving WebDriver Bidi client according to [1].
The actual dependencies for the WebSockets lib[2] and pytest-asyncio[3] are not included in this PR. They are installed locally using pip install.
However, later versions of pytest[4] and pluggy[5] are needed for pytest-asyncio and they are included here.
The change includes:
A simple WebDriver Bidi capabilities test to demonstrate enabling WebSockets according to the protocol.
Upgraded pytest and pluggy third party dependencies(with a work around for an version error in pytest).
Added an async style test that enables WebSocket by directly specifying the corresponding capability.
Add BidiSession class in WebDriver client for use in fixture to conveniently create a Bidi Session and tests to demonstrate behavior between tests.
[1] #26015 (comment)
[2] https://github.com/aaugustin/websockets
[3] https://github.com/pytest-dev/pytest-asyncio
[4] https://github.com/pytest-dev/pytest
[5] https://github.com/pytest-dev/pluggy
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/718cdacc1eef
https://hg.mozilla.org/mozilla-central/rev/e84d7ae90173
Description
•