From f6392d730f51a3cd54294ee04f593557aa6575ef Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 6 Sep 2016 14:04:54 +0200 Subject: [PATCH] Stabilize test in invoke.feature When we use about:blank, the wait doesn't actually wait (because we already did open about:blank earlier), so we need to use another URL or this test will be flaky. --- tests/end2end/features/invoke.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/end2end/features/invoke.feature b/tests/end2end/features/invoke.feature index 915f4a3af..3e1331be8 100644 --- a/tests/end2end/features/invoke.feature +++ b/tests/end2end/features/invoke.feature @@ -93,10 +93,10 @@ Feature: Invoking a new process Scenario: Opening a new qutebrowser instance with no parameters When I set general -> new-instance-open-target to tab - And I set general -> startpage to about:blank + And I set general -> startpage to http://localhost:(port)/data/hello.txt And I open data/title.html And I spawn a new window - And I wait until about:blank is loaded + And I wait until data/hello.txt is loaded Then the session should look like: windows: - tabs: @@ -105,4 +105,4 @@ Feature: Invoking a new process - url: http://localhost:*/data/title.html - tabs: - history: - - url: about:blank + - url: http://localhost:*/data/hello.txt