MCPcopy
hub / github.com/streamlit/streamlit / output_folder

Function output_folder

e2e_playwright/conftest.py:1335–1347  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

1333
1334@pytest.fixture(scope="session")
1335def 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

Callers

nothing calls this directly

Calls 1

get_git_rootFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…