diff --git a/README.asciidoc b/README.asciidoc index 315ba4562..451c140dc 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -170,6 +170,7 @@ Contributors, sorted by the number of commits in descending order: * John ShaggyTwoDope Jenkins * Peter Vilim * Oliver Caldwell +* Philipp Hansch * Jonas Schürmann * Jimmy * Panagiotis Ktistakis @@ -186,7 +187,6 @@ Contributors, sorted by the number of commits in descending order: * neeasade * jnphilipp * Tobias Patzl -* Philipp Hansch * Peter Michely * Link * Larry Hynes diff --git a/tests/integration/features/tabs.feature b/tests/integration/features/tabs.feature index f757d15f4..8d898694b 100644 --- a/tests/integration/features/tabs.feature +++ b/tests/integration/features/tabs.feature @@ -644,3 +644,68 @@ Feature: Tab management And I run :tab-only And I run :tab-close Then qutebrowser should quit + + # tab settings + + Scenario: opening links with tabs->background-tabs true + When I set tabs -> background-tabs to true + And I open data/hints/link.html + And I run :hint all tab + And I run :follow-hint a + And I wait until data/hello.txt is loaded + Then the following tabs should be open: + - data/hints/link.html (active) + - data/hello.txt + + Scenario: opening tab with tabs->new-tab-position left + When I set tabs -> new-tab-position to left + And I set tabs -> background-tabs to false + And I open about:blank + And I open data/hints/link.html in a new tab + And I run :hint all tab + And I run :follow-hint a + And I wait until data/hello.txt is loaded + Then the following tabs should be open: + - about:blank + - data/hello.txt (active) + - data/hints/link.html + + Scenario: opening tab with tabs->new-tab-position right + When I set tabs -> new-tab-position to right + And I set tabs -> background-tabs to false + And I open about:blank + And I open data/hints/link.html in a new tab + And I run :hint all tab + And I run :follow-hint a + And I wait until data/hello.txt is loaded + Then the following tabs should be open: + - about:blank + - data/hints/link.html + - data/hello.txt (active) + + Scenario: opening tab with tabs->new-tab-position first + When I set tabs -> new-tab-position to first + And I set tabs -> background-tabs to false + And I open about:blank + And I open data/hints/link.html in a new tab + And I run :hint all tab + And I run :follow-hint a + And I wait until data/hello.txt is loaded + Then the following tabs should be open: + - data/hello.txt (active) + - about:blank + - data/hints/link.html + + Scenario: opening tab with tabs->new-tab-position last + When I set tabs -> new-tab-position to last + And I set tabs -> background-tabs to false + And I open data/hints/link.html + And I open about:blank in a new tab + And I run :tab-focus last + And I run :hint all tab + And I run :follow-hint a + And I wait until data/hello.txt is loaded + Then the following tabs should be open: + - data/hints/link.html + - about:blank + - data/hello.txt (active)