[wdspec] Update tests for pytest asyncio markers
Categories
(Remote Protocol :: WebDriver BiDi, task, P3)
Tracking
(firefox150 fixed)
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: whimboo, Assigned: khalid.alhaddad98, Mentored)
Details
(Whiteboard: [webdriver:m19][webdriver:external][lang=py][wptsync upstream][webdriver:relnote])
Attachments
(2 files, 1 obsolete file)
In nearly all of our tests we currently use the @pytest.mark.asyncio marker for each and every test. This adds quite an overhead. Instead we can use a single pytestmark = pytest.mark.asyncio entry at the top of the file which will then automatically apply it to all the test methods within this module.
Affected tests are under:
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/webdriver/tests/bidi/
| Reporter | ||
Updated•3 years ago
|
Comment 1•2 years ago
|
||
Hello, I would like to work on this task, this is my first work however, any tips to start?
| Reporter | ||
Comment 2•2 years ago
|
||
Thanks for having you here! And I'm happy to help / assist especially when it's your very first bug!
A good place to start is the documentation for new contributors that you can find here:
https://firefox-source-docs.mozilla.org/testing/marionette/NewContributors.html
For further questions don't hesitate to contact us as best on Matrix in the mentioned #webdriver channel.
Comment 3•2 years ago
|
||
The code now uses a single pytestmark = pytest.mark.asyncio instead of repeating @pytest.mark.asyncio for each test.
Updated•2 years ago
|
| Reporter | ||
Comment 4•2 years ago
|
||
Hi Washington. I would like to know if you have received the email from Phabricator about my code review and request for changes. If yes and you are facing troubles with the updates please let me know. Thanks!
Comment 5•2 years ago
|
||
Yes I have received it, however i got caught up on some other things, I'll be updating it in this next days.
| Reporter | ||
Comment 6•2 years ago
|
||
Thank you for the reply and no worries when it takes longer. It's good that you got the email.
| Reporter | ||
Comment 7•2 years ago
|
||
Washington, please let us know if you are still interested. Some additional time has passed by and the risk that the patch bitrots is high due to the activity on our side. If you still do not have the time just tell us, and we can pick it up. Thanks.
| Reporter | ||
Comment 8•2 years ago
|
||
There was not reply within the last 3 weeks. As such lets open up this bug for other interested contributors.
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 9•3 months ago
|
||
| Assignee | ||
Comment 10•3 months ago
|
||
Updated•3 months ago
|
| Reporter | ||
Comment 11•3 months ago
|
||
Given that Julian started to review the patches lets set him as the mentor for this bug.
Comment 12•3 months ago
|
||
Comment 14•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/61189d5d1cb8
https://hg.mozilla.org/mozilla-central/rev/5f13597560c2
| Reporter | ||
Updated•3 months ago
|
Updated•3 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Description
•