summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpylbrecht <pylbrecht@mailbox.org>2024-03-28 11:18:38 +0100
committerpylbrecht <pylbrecht@mailbox.org>2024-03-28 11:19:25 +0100
commitc0ab79cb01871a1cd7ce2481e145b57576b26023 (patch)
treeda3fa26025578ea0e3e34a421a22a384525b1901
parentfb7be3ac7aaadba28a69809de84213976415ef0f (diff)
downloadqutebrowser-c0ab79cb01871a1cd7ce2481e145b57576b26023.tar.gz
qutebrowser-c0ab79cb01871a1cd7ce2481e145b57576b26023.zip
Add end2end test for :tab-next --sibling
-rw-r--r--tests/end2end/features/treetabs.feature11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/end2end/features/treetabs.feature b/tests/end2end/features/treetabs.feature
index 093c3e8d4..36d9f31f1 100644
--- a/tests/end2end/features/treetabs.feature
+++ b/tests/end2end/features/treetabs.feature
@@ -9,6 +9,17 @@ Feature: Tree tab management
And I clean up open tabs
And I clear the log
+ Scenario: Focus next sibling tab
+ When I open data/numbers/1.txt
+ And I open data/numbers/2.txt in a new related tab
+ And I open data/numbers/3.txt in a new tab
+ And I run :tab-focus 1
+ And I run :tab-next --sibling
+ Then the following tabs should be open:
+ - data/numbers/1.txt
+ - data/numbers/2.txt
+ - data/numbers/3.txt (active)
+
Scenario: Closing a tab promotes the first child in its place
When I open data/numbers/1.txt
And I open data/numbers/2.txt in a new related tab