From db7bc2c6ff4ca59861033edab4f3f8ffe8f53913 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 14 Jun 2022 13:31:26 +0200 Subject: Add tests for :session-save --no-history --- tests/end2end/features/sessions.feature | 10 ++++++++++ 1 file changed, 10 insertions(+) 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() -- cgit v1.2.3-54-g00ecf