diff options
-rw-r--r-- | tests/end2end/features/test_treetabs_bdd.py | 6 | ||||
-rw-r--r-- | tests/end2end/features/treetabs.feature | 12 |
2 files changed, 13 insertions, 5 deletions
diff --git a/tests/end2end/features/test_treetabs_bdd.py b/tests/end2end/features/test_treetabs_bdd.py new file mode 100644 index 000000000..9cbb315d7 --- /dev/null +++ b/tests/end2end/features/test_treetabs_bdd.py @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org> +# +# SPDX-License-Identifier: GPL-3.0-or-later + +import pytest_bdd as bdd +bdd.scenarios("treetabs.feature") diff --git a/tests/end2end/features/treetabs.feature b/tests/end2end/features/treetabs.feature index 78439e373..bc6fad45c 100644 --- a/tests/end2end/features/treetabs.feature +++ b/tests/end2end/features/treetabs.feature @@ -1,16 +1,18 @@ Feature: Tree tab management - Tests for various :tab-* commands. + Tests for various :tree-tab-* commands. Background: - Given I clean up open tabs - And I set tabs.tabs_are_windows to false + # Open a new tree tab enabled window, close everything else + Given I set tabs.tabs_are_windows to false And I set tabs.tree_tabs to true + And I open about:blank?starting%20page in a new window + And I clean up open tabs 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/2.txt in a new related tab + And I open data/numbers/3.txt in a new related tab And I open data/numbers/4.txt in a new tab And I run :tab-focus 1 And I run :tab-close --recursive |