summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoruser202729 <25191436+user202729@users.noreply.github.com>2020-04-15 13:49:15 +0700
committeruser202729 <25191436+user202729@users.noreply.github.com>2020-04-15 13:49:15 +0700
commited72de0a954b02dbe1e671a93a4928776459daac (patch)
tree4b71d906d7f2863ba079d764fa4336ed796893e9 /tests
parent7398fd177ebb768066016c712628e532892afd79 (diff)
downloadqutebrowser-ed72de0a954b02dbe1e671a93a4928776459daac.tar.gz
qutebrowser-ed72de0a954b02dbe1e671a93a4928776459daac.zip
Add some tests for spawn -m
Diffstat (limited to 'tests')
-rw-r--r--tests/end2end/features/spawn.feature8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/end2end/features/spawn.feature b/tests/end2end/features/spawn.feature
index 5fabb044d..1942b474f 100644
--- a/tests/end2end/features/spawn.feature
+++ b/tests/end2end/features/spawn.feature
@@ -38,6 +38,14 @@ Feature: :spawn
And I run :spawn (echo-exe) {url:pretty}
Then "Executing * with args ['http://localhost:(port)/data/title with spaces.html'], userscript=False" should be logged
+ Scenario: Running :spawn with -m
+ When I run :spawn -m (echo-exe) "Message 1"
+ Then the message "Message 1" should be shown
+
+ Scenario: Running :spawn with -u -m
+ When I run :spawn -u -m (echo-exe) "Message 2"
+ Then the message "Message 2" should be shown
+
@posix
Scenario: Running :spawn with userscript
When I open data/hello.txt