From 401a37bf4bf9aeb3dad7de13bfa1e10c5af71d99 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 22 Nov 2017 08:43:47 +0100 Subject: [PATCH] Stabilize :spawn with userscript tests --- tests/end2end/features/spawn.feature | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/end2end/features/spawn.feature b/tests/end2end/features/spawn.feature index e2b5fdd5b..2a1ea0039 100644 --- a/tests/end2end/features/spawn.feature +++ b/tests/end2end/features/spawn.feature @@ -40,21 +40,21 @@ Feature: :spawn @posix Scenario: Running :spawn with userscript - When I open about:blank + When I open data/hello.txt And I run :spawn -u (testdata)/userscripts/open_current_url - And I wait until about:blank is loaded + And I wait until data/hello.txt is loaded Then the following tabs should be open: - - about:blank - - about:blank (active) + - data/hello.txt + - data/hello.txt (active) @windows Scenario: Running :spawn with userscript on Windows - When I open about:blank + When I open data/hello.txt And I run :spawn -u (testdata)/userscripts/open_current_url.bat - And I wait until about:blank is loaded + And I wait until data/hello.txt is loaded Then the following tabs should be open: - - about:blank - - about:blank (active) + - data/hello.txt + - data/hello.txt (active) @posix Scenario: Running :spawn with userscript that expects the stdin getting closed