b5e512f483
Adds [C: caller] tags to functions/methods and [M: mutation] / [U: usage] tags to class variables based on cross-module call analysis.
18 lines
448 B
Python
18 lines
448 B
Python
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" |