mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-03 17:54:33 +03:00
test: Increase window destroy timeout to 30s by default
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
f9b80469e0
commit
e8e7485089
@ -265,7 +265,7 @@ def run_test_step_action_window_close(ctx, step):
|
|||||||
tag = step['window']
|
tag = step['window']
|
||||||
assert ctx['windows'].get(tag) is not None
|
assert ctx['windows'].get(tag) is not None
|
||||||
win = ctx['windows'].pop(tag)
|
win = ctx['windows'].pop(tag)
|
||||||
timeout = int(step.get('timeout', 5))
|
timeout = int(step.get('timeout', 30))
|
||||||
win.kill()
|
win.kill()
|
||||||
win.wait_until_dead(timeout=timeout)
|
win.wait_until_dead(timeout=timeout)
|
||||||
assert not win.alive
|
assert not win.alive
|
||||||
|
Loading…
Reference in New Issue
Block a user