From d13ae4c666e740ed4a48aa8b5d5936fc5f9b6ba6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 24 Nov 2015 16:54:35 +0100 Subject: [PATCH] tests: Make checks for focus window more forgiving. It seems on OS X we get this instead of focusing the webview: "Focus object changed: " --- tests/integration/features/misc.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/features/misc.feature b/tests/integration/features/misc.feature index ed34fe71b..1ef23a0a5 100644 --- a/tests/integration/features/misc.feature +++ b/tests/integration/features/misc.feature @@ -114,7 +114,7 @@ Feature: Various utility commands. And I run :inspector And I wait for "Focus object changed: " in the log 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 no crash should happen # :fake-key @@ -138,7 +138,7 @@ Feature: Various utility commands. 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