conductor(checkpoint): Checkpoint end of Phase 1: Storage Optimization
This commit is contained in:
16
tests/test_gui_startup_smoke.py
Normal file
16
tests/test_gui_startup_smoke.py
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
import time
|
||||||
|
|
||||||
|
def test_gui_startup_smoke(live_gui):
|
||||||
|
"""
|
||||||
|
Smoke test to ensure the GUI starts and remains running.
|
||||||
|
"""
|
||||||
|
proc, _ = live_gui
|
||||||
|
|
||||||
|
# Verify the process is still running
|
||||||
|
assert proc.poll() is None, "GUI process terminated prematurely on startup"
|
||||||
|
|
||||||
|
# Wait for 2 seconds to ensure stability
|
||||||
|
time.sleep(2)
|
||||||
|
|
||||||
|
# Verify it's still running after 2 seconds
|
||||||
|
assert proc.poll() is None, "GUI process crashed within 2 seconds of startup"
|
||||||
Reference in New Issue
Block a user