summaryrefslogtreecommitdiff
path: root/tests/end2end
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-04-23 10:42:34 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-04-23 10:42:34 +0200
commitc7b3559d820ebdc8b3077fce3d782e6ab81cb732 (patch)
treed693301055cd0ca21b514388fd8d61a790435ff3 /tests/end2end
parentb1265cbeffb6778951a4f2d7a53bd4fc18607a5c (diff)
downloadqutebrowser-c7b3559d820ebdc8b3077fce3d782e6ab81cb732.tar.gz
qutebrowser-c7b3559d820ebdc8b3077fce3d782e6ab81cb732.zip
Fix :spawn -u -o
Fixes #6407
Diffstat (limited to 'tests/end2end')
-rw-r--r--tests/end2end/features/spawn.feature6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/end2end/features/spawn.feature b/tests/end2end/features/spawn.feature
index 1c360893c..e7dfaee6c 100644
--- a/tests/end2end/features/spawn.feature
+++ b/tests/end2end/features/spawn.feature
@@ -44,8 +44,14 @@ Feature: :spawn
When I run :spawn -u -m (echo-exe) Message 2
Then the message "Message 2" should be shown
+ Scenario: Running :spawn with -u -o
+ When I run :spawn -u -o (echo-exe) Message 3
+ And I wait for "load status for * url='qute://process/*'>: LoadStatus.success" in the log
+ Then the page should contain the plaintext "Message 3"
+
@posix
Scenario: Running :spawn with userscript
+ Given I clean up open tabs
When I open data/hello.txt
And I run :spawn -u (testdata)/userscripts/open_current_url
And I wait until data/hello.txt is loaded