summaryrefslogtreecommitdiff
path: root/tests/end2end/features/treetabs.feature
blob: 78439e37353b6deb68a4f99d9a7a2bf6f36debc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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