summaryrefslogtreecommitdiff
path: root/tests/end2end/features/treetabs.feature
diff options
context:
space:
mode:
Diffstat (limited to 'tests/end2end/features/treetabs.feature')
-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