Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs]: The URL in the Async Fixtures section is broken #2742

Open
sqanatoliy opened this issue Feb 14, 2025 · 3 comments
Open

[Docs]: The URL in the Async Fixtures section is broken #2742

sqanatoliy opened this issue Feb 14, 2025 · 3 comments
Assignees
Labels

Comments

@sqanatoliy
Copy link

Page(s)

https://playwright.dev/python/docs/test-runners#async-fixtures

Description

The link to “loop_scope=session” in the Async Fixtures section is broken

@mxschmitt
Copy link
Member

@sqanatoliy
Copy link
Author

Should be probably https://pytest-asyncio.readthedocs.io/en/latest/how-to-guides/run_module_tests_in_same_loop.html now

It is necessary to determine which scope is meant there: session or module. If it is still scope=session, then it may be worth using stable instead of latest documentation, then the page is displayed correctly
https://pytest-asyncio.readthedocs.io/en/stable/how-to-guides/run_session_tests_in_same_loop.html

@mxschmitt
Copy link
Member

Note: I'll wait until asyncio_default_test_loop_scope = session is released in the next version of pytest-asyncio which should make it then much easier to consume the plugin. Only this needs to be set and things should work. I'll then adjust docs accordingly once its released.

Depends on pytest-dev/pytest-asyncio#1035.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants