From e68965fea291962ff2d7c8a55cf19cceaed680de Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 2 Dec 2015 22:22:31 +0100 Subject: [PATCH] bdd: Wait for help pages to be loaded in tests. This hopefully fixes #1150. --- tests/integration/features/misc.feature | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/features/misc.feature b/tests/integration/features/misc.feature index b47c09759..ea033405d 100644 --- a/tests/integration/features/misc.feature +++ b/tests/integration/features/misc.feature @@ -185,6 +185,7 @@ Feature: Various utility commands. Scenario: :help without topic When I run :tab-only And I run :help + And I wait until qute://help/index.html is loaded Then the following tabs should be open: - qute://help/index.html (active) @@ -195,6 +196,7 @@ Feature: Various utility commands. Scenario: :help with command When I run :tab-only And I run :help :back + And I wait until qute://help/commands.html#back is loaded Then the following tabs should be open: - qute://help/commands.html#back (active) @@ -205,6 +207,7 @@ Feature: Various utility commands. Scenario: :help with setting When I run :tab-only And I run :help general->editor + And I wait until qute://help/settings.html#general-editor is loaded Then the following tabs should be open: - qute://help/settings.html#general-editor (active) @@ -224,6 +227,7 @@ Feature: Various utility commands. When I open about:blank And I run :tab-only And I run :help -t + And I wait until qute://help/index.html is loaded Then the following tabs should be open: - about:blank - qute://help/index.html (active)