summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-06-14 13:31:26 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-06-14 13:31:26 +0200
commitdb7bc2c6ff4ca59861033edab4f3f8ffe8f53913 (patch)
tree77176ca54de005ef4b27296878ed981ba9915a4f
parent27ca9af77f0eebdfcbfde34cb75fe07da4d440cd (diff)
downloadqutebrowser-db7bc2c6ff4ca59861033edab4f3f8ffe8f53913.tar.gz
qutebrowser-db7bc2c6ff4ca59861033edab4f3f8ffe8f53913.zip
Add tests for :session-save --no-history
-rw-r--r--tests/end2end/features/sessions.feature10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/end2end/features/sessions.feature b/tests/end2end/features/sessions.feature
index b326b320f..c68cebbc2 100644
--- a/tests/end2end/features/sessions.feature
+++ b/tests/end2end/features/sessions.feature
@@ -206,6 +206,16 @@ Feature: Saving and loading sessions
- history:
- url: http://localhost:*/data/numbers/3.txt
+ Scenario: Saving with --no-history and --only-active-window
+ When I open data/numbers/1.txt
+ And I open data/numbers/2.txt
+ And I open data/numbers/3.txt
+ Then the session saved with --no-history --only-active-window should look like:
+ windows:
+ - tabs:
+ - history:
+ - url: http://localhost:*/data/numbers/3.txt
+
# https://github.com/qutebrowser/qutebrowser/issues/879
Scenario: Saving a session with a page using history.replaceState()