Merge branch 'phansch-feature_test_tab_settings'

This commit is contained in:
Florian Bruhin 2016-03-24 20:21:53 +01:00
commit 74e1900910
2 changed files with 66 additions and 1 deletions

View File

@ -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

View File

@ -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)