summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpylbrecht <pylbrecht@mailbox.org>2024-01-15 06:18:50 +0100
committerpylbrecht <pylbrecht@mailbox.org>2024-02-07 20:22:21 +0100
commit2d9d8fd622040882d0ceb29d185852c8d8d6a727 (patch)
tree099894fb10d8fe33c7024dcb93a9022e88a63ee5
parent0d91c22acc7cd6bf822a5f4e9ab398baeaf74a80 (diff)
downloadqutebrowser-2d9d8fd622040882d0ceb29d185852c8d8d6a727.tar.gz
qutebrowser-2d9d8fd622040882d0ceb29d185852c8d8d6a727.zip
Draft: add end2end test for :tab-close --recursive
-rw-r--r--tests/end2end/features/treetabs.feature18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/end2end/features/treetabs.feature b/tests/end2end/features/treetabs.feature
new file mode 100644
index 000000000..78439e373
--- /dev/null
+++ b/tests/end2end/features/treetabs.feature
@@ -0,0 +1,18 @@
+Feature: Tree tab management
+ Tests for various :tab-* commands.
+
+ Background:
+ Given I clean up open tabs
+ And I set tabs.tabs_are_windows to false
+ And I set tabs.tree_tabs to true
+ And I clear the log
+
+ Scenario: :tab-close --recursive
+ When I open data/numbers/1.txt
+ And I open data/numbers/2.txt in a new tab as a sibling
+ And I open data/numbers/3.txt in a new tab as a sibling
+ And I open data/numbers/4.txt in a new tab
+ And I run :tab-focus 1
+ And I run :tab-close --recursive
+ Then the following tabs should be open:
+ - data/numbers/4.txt