| [tool:pytest] | |
| # Pytest configuration for E2E tests | |
| testpaths = tests/e2e | |
| python_files = test_*.py | |
| python_classes = Test* | |
| python_functions = test_* | |
| # Markers for different test types | |
| markers = | |
| slow: marks tests as slow (AI operations, document processing) | |
| performance: marks tests as performance tests | |
| smoke: marks tests as smoke tests (basic functionality) | |
| # Test output | |
| addopts = | |
| -v | |
| --tb=short | |
| --strict-markers | |
| --strict-config | |
| --color=yes | |
| --durations=10 | |
| # Playwright specific settings | |
| asyncio_mode = auto | |
| # Logging | |
| log_level = INFO | |
| log_cli = true | |
| log_cli_level = INFO | |
| # Timeout settings | |
| timeout = 300 | |
| # Parallel execution (use with pytest-xdist) | |
| # addopts = -n auto # Uncomment to run tests in parallel | |