diff options
author | Nicholas Boyd Isacsson <nicholas@isacsson.se> | 2021-09-10 15:53:54 +0200 |
---|---|---|
committer | Nicholas Boyd Isacsson <nicholas@isacsson.se> | 2021-09-10 15:53:54 +0200 |
commit | 2e0549fe9f7bf1a400df034d35c8f726378a58c9 (patch) | |
tree | 9a809a19ab3f0f9ba551733e3de2e3fd1d642df6 | |
parent | daecf903a40473e5e8ec3c7dcb495654c2829ac2 (diff) | |
download | qutebrowser-2e0549fe9f7bf1a400df034d35c8f726378a58c9.tar.gz qutebrowser-2e0549fe9f7bf1a400df034d35c8f726378a58c9.zip |
Update test cases for :tab-clone --private
-rw-r--r-- | tests/end2end/features/tabs.feature | 22 |
1 files changed, 21 insertions, 1 deletions
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 |