From 2e0549fe9f7bf1a400df034d35c8f726378a58c9 Mon Sep 17 00:00:00 2001 From: Nicholas Boyd Isacsson Date: Fri, 10 Sep 2021 15:53:54 +0200 Subject: Update test cases for :tab-clone --private --- tests/end2end/features/tabs.feature | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/tests/end2end/features/tabs.feature b/tests/end2end/features/tabs.feature index e8fc9e7bc..21b91d993 100644 --- a/tests/end2end/features/tabs.feature +++ b/tests/end2end/features/tabs.feature @@ -653,7 +653,7 @@ Feature: Tab management Scenario: :tab-clone with -b and -w When I run :tab-clone -b -w - Then the error "Only one of -b/-w can be given!" should be shown. + Then the error "Only one of -b/-w/-p can be given!" should be shown. Scenario: Cloning a tab with history and title When I open data/title.html @@ -737,6 +737,26 @@ Feature: Tab management - url: http://localhost:*/data/title.html title: Test title + Scenario: Cloning to private window + When I open data/title.html + And I run :tab-clone -p + And I wait until data/title.html is loaded + Then the session should look like: + windows: + - tabs: + - active: true + history: + - url: about:blank + - url: http://localhost:*/data/title.html + title: Test title + - tabs: + - private: true + - active: true + history: + - url: about:blank + - url: http://localhost:*/data/title.html + title: Test title + # https://github.com/qutebrowser/qutebrowser/issues/2289 @qtwebkit_skip -- cgit v1.2.3-54-g00ecf