From 45d6dc6aa37e69545a1a943883c611ef4a014e33 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 18 Dec 2015 07:13:16 +0100 Subject: [PATCH] tests: Hopefully fix keyinput.feature flakiness. While the original "no focused webview" bug (with the first test after spawning qutebrowser) from #1183 was fixed, we still had a case where the next test after ":fake-key sending key to the website with other window focused" failed, presumably because the inspector was still focused, e.g. here: http://qutebrowser.org:8010/builders/osx/builds/1175/steps/tests/logs/stdio This hopefully fixes this by properly waiting until the inspector is gone. --- tests/integration/features/keyinput.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/features/keyinput.feature b/tests/integration/features/keyinput.feature index 1536249e2..eae967874 100644 --- a/tests/integration/features/keyinput.feature +++ b/tests/integration/features/keyinput.feature @@ -121,7 +121,7 @@ Feature: Keyboard input And I wait for "Focus object changed: " in the log And I run :fake-key x And I run :inspector - And I wait for "Focus object changed: *" in the log + And I wait for "Focus object changed: " in the log Then the error "No focused webview!" should be shown Scenario: :fake-key sending special key to the website