Private
Public Access
0
0
Commit Graph

3 Commits

Author SHA1 Message Date
ed 3fdb259249 test(tests): TDD for test_live_gui_workspace_exists xdist race (failing test)
Captures the xdist race condition in the live_gui_workspace fixture.
In batched runs (pytest-xdist), the owner worker's live_gui fixture
teardown can rmtree the shared workspace path before a client worker's
test asserts live_gui_workspace.exists(). The test simulates this race
by pointing the handle at a fresh, never-existed path (Windows file
locks block rmtree on the live workspace) and asserting that the
live_gui_workspace fixture recreates the directory before returning
the path.

This test FAILS on the current commit because the fixture is just
'return handle.workspace' without ensuring the path exists. The fix
(in tests/conftest.py:727) will add workspace.mkdir(parents=True,
exist_ok=True) before the return.
2026-06-18 14:26:12 -04:00
ed aa776224f2 test(workspace): update fixture test to assert tests/artifacts/ not tmp dir 2026-06-09 21:06:06 -04:00
ed 91313451a2 feat(test): expose live_gui_workspace as a separate fixture 2026-06-09 15:53:06 -04:00