Fixture returning the directory that is used for all test failures information. This includes: - snapshot-tests-failures: This directory contains all the snapshots that did not match with the snapshots from past runs. The folder structure is based on the folder structure used in the
(pytestconfig: Any)
| 1333 | |
| 1334 | @pytest.fixture(scope="session") |
| 1335 | def output_folder(pytestconfig: Any) -> Path: |
| 1336 | """Fixture returning the directory that is used for all test failures information. |
| 1337 | |
| 1338 | This includes: |
| 1339 | - snapshot-tests-failures: This directory contains all the snapshots that did not |
| 1340 | match with the snapshots from past runs. The folder structure is based on the folder |
| 1341 | structure used in the main snapshots folder. |
| 1342 | - snapshot-updates: This directory contains all the snapshots that got updated in |
| 1343 | the current run based on folder structure used in the main snapshots folder. |
| 1344 | """ |
| 1345 | return Path( |
| 1346 | get_git_root() / "e2e_playwright" / pytestconfig.getoption("--output") |
| 1347 | ).resolve() |
| 1348 | |
| 1349 | |
| 1350 | @pytest.fixture |
nothing calls this directly
no test coverage detected
searching dependent graphs…