refactor(test): 5 test files use live_gui_workspace fixture instead of hardcoded path
This commit is contained in:
@@ -57,7 +57,7 @@ def test_gui_ux_event_routing(live_gui) -> None:
|
||||
print("[SIM] Performance verified.")
|
||||
|
||||
@pytest.mark.live
|
||||
def test_gui_track_creation(live_gui) -> None:
|
||||
def test_gui_track_creation(live_gui, live_gui_workspace) -> None:
|
||||
client = api_hook_client.ApiHookClient()
|
||||
client.click("btn_reset")
|
||||
time.sleep(2)
|
||||
@@ -76,7 +76,7 @@ def test_gui_track_creation(live_gui) -> None:
|
||||
|
||||
# Verify track exists on disk
|
||||
# Path is calculated in _cb_create_track: track_id = f"{name.lower().replace(' ', '_')}_{date_suffix}"
|
||||
temp_workspace = Path("tests/artifacts/live_gui_workspace")
|
||||
temp_workspace = live_gui_workspace
|
||||
tracks_dir = temp_workspace / "conductor" / "tracks"
|
||||
assert tracks_dir.exists(), "Tracks directory not found"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user