summaryrefslogtreecommitdiff
path: root/tests
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:43:15 +0200
commit55a2f68d95798797ba788bfe50e8dbf461957cd9 (patch)
treeb79e4d126362fe267c33e63224c130e191ea33c5 /tests
parent57a8f13393dbe7dc3971f28a13fc518d924eb149 (diff)
downloadqutebrowser-55a2f68d95798797ba788bfe50e8dbf461957cd9.tar.gz
qutebrowser-55a2f68d95798797ba788bfe50e8dbf461957cd9.zip
Fix :spawn -u -o
Fixes #6407 (cherry picked from commit c7b3559d820ebdc8b3077fce3d782e6ab81cb732)
Diffstat (limited to 'tests')
-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