summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-06-14 13:28:43 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-06-14 13:28:43 +0200
commit27ca9af77f0eebdfcbfde34cb75fe07da4d440cd (patch)
tree1c6dd0c0629a9ec5a62f94fd2e56c7f5b986207a
parent70697b8d9702356f9d2d006e241b1ca37b7df9e2 (diff)
downloadqutebrowser-27ca9af77f0eebdfcbfde34cb75fe07da4d440cd.tar.gz
qutebrowser-27ca9af77f0eebdfcbfde34cb75fe07da4d440cd.zip
Add test for :session-save with --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 37254be73..b326b320f 100644
--- a/tests/end2end/features/sessions.feature
+++ b/tests/end2end/features/sessions.feature
@@ -196,6 +196,16 @@ Feature: Saving and loading sessions
url: http://localhost:*/data/numbers/3.txt
zoom: 1.0
+ Scenario: Saving with --no-history
+ 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 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()