tests: Wait for tab-close being run properly

Leaks into the next test otherwise, making it flaky.
This commit is contained in:
Florian Bruhin 2025-04-12 21:28:30 +02:00
parent 7bc6c33bb5
commit 9aa53ea205
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ def test_auto_load_delayed_tab_close(quteproc):
quteproc.set_setting('input.insert_mode.auto_load', "true")
quteproc.send_cmd(":cmd-later 50 open -t about:blank")
quteproc.send_cmd(":cmd-later 110 tab-close")
quteproc.wait_for(message="command called: tab-close")
def test_auto_leave_insert_mode(quteproc):