From 95cb8a8a6553f2e58e9ea79929c8ee25e54284e1 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 26 Mar 2025 10:11:30 +0000 Subject: [PATCH] feat(roll): roll to ToT Playwright (26-03-25) --- python/docs/test-runners.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/docs/test-runners.mdx b/python/docs/test-runners.mdx index ef32956773b..532d630fc1a 100644 --- a/python/docs/test-runners.mdx +++ b/python/docs/test-runners.mdx @@ -257,7 +257,9 @@ See the [guides for CI providers](./ci.mdx) to deploy your tests to CI/CD. ## Async Fixtures -If you want to use async fixtures, you can use the [`pytest-playwright-asyncio`](https://pypi.org/project/pytest-playwright-asyncio/) plugin. Make sure to use `pytest-asyncio>=0.24.0` and make your tests use of [`loop_scope=session`](https://pytest-asyncio.readthedocs.io/en/stable/how-to-guides/run_session_tests_in_same_loop.html). +To use async fixtures, install [`pytest-playwright-asyncio`](https://pypi.org/project/pytest-playwright-asyncio/). + +Ensure you are using `pytest-asyncio>=0.26.0` and set [`asyncio_default_test_loop_scope = session`](https://pytest-asyncio.readthedocs.io/en/v0.26.0/how-to-guides/change_default_test_loop.html) in your configuration (`pytest.ini/pyproject.toml/setup.cfg`). ```python import pytest