"""E2E test configuration. This conftest.py overrides the asyncio_mode setting from the root pyproject.toml to disable pytest-asyncio for E2E tests. This is necessary because pytest-playwright manages its own event loop and conflicts with pytest-asyncio. See: https://github.com/pytest-dev/pytest-asyncio/issues/706 """ def pytest_configure(config): """Configure pytest for E2E tests. Disable pytest-asyncio for E2E tests since pytest-playwright manages its own event loop. """ # Override asyncio_mode to prevent pytest-asyncio from interfering config.option.asyncio_mode = None