diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-06-14 13:31:26 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-06-14 13:31:26 +0200 |
commit | db7bc2c6ff4ca59861033edab4f3f8ffe8f53913 (patch) | |
tree | 77176ca54de005ef4b27296878ed981ba9915a4f | |
parent | 27ca9af77f0eebdfcbfde34cb75fe07da4d440cd (diff) | |
download | qutebrowser-db7bc2c6ff4ca59861033edab4f3f8ffe8f53913.tar.gz qutebrowser-db7bc2c6ff4ca59861033edab4f3f8ffe8f53913.zip |
Add tests for :session-save --no-history
-rw-r--r-- | tests/end2end/features/sessions.feature | 10 |
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() |