chore: add timeout and assert for the sign out test (#361)
This commit is contained in:
parent
4500d0fb1d
commit
c2ac1db048
|
@ -16,4 +16,5 @@ def test_sign_out_and_quit(aut, main_screen: MainWindow):
|
|||
sign_out_screen.sign_out_and_quit()
|
||||
|
||||
with step('Check that app was closed'):
|
||||
psutil.Process(aut.pid).wait()
|
||||
psutil.Process(aut.pid).wait(timeout=5)
|
||||
assert aut.pid not in psutil.pids(), f"{aut.pid} is still running"
|
||||
|
|
Loading…
Reference in New Issue