From ce1b2e6f1512d86d1ebc4fdedcb3b5230370a79c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 6 Sep 2016 16:38:00 +0200 Subject: [PATCH] quteprocess: Only wait for first about:blank load We accidentally marked all about:blank lines as waited for... --- tests/end2end/fixtures/quteprocess.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py index 037587ba8..4f72bf9df 100644 --- a/tests/end2end/fixtures/quteprocess.py +++ b/tests/end2end/fixtures/quteprocess.py @@ -217,7 +217,8 @@ class QuteProc(testprocess.Process): elif (log_line.category == 'webview' and testutils.pattern_match(pattern=start_okay_message_load, value=log_line.message)): - log_line.waited_for = True + if not self._load_ready: + log_line.waited_for = True self._is_ready('load') elif (log_line.category == 'misc' and testutils.pattern_match(pattern=start_okay_message_focus,