Stabilize cleaning up open tabs

For some reason, about:blank isn't properly loaded sometimes. But this should
always work.
This commit is contained in:
Florian Bruhin 2017-11-21 14:53:31 +01:00
parent 2f12233cb7
commit 8440303d82

View File

@ -162,7 +162,7 @@ def clean_open_tabs(quteproc):
quteproc.send_cmd(':window-only')
quteproc.send_cmd(':tab-only --force')
quteproc.send_cmd(':tab-close --force')
quteproc.wait_for_load_finished_url('about:blank')
quteproc.wait_for(message="Changing title for idx 0 to 'about:blank'")
@bdd.given('pdfjs is available')