Merge branch 'pintab' of https://github.com/thuck/qutebrowser into pintab

This commit is contained in:
thuck 2017-03-19 14:43:36 +01:00
commit 20d058741e
2 changed files with 6 additions and 1 deletions

View File

@ -1074,7 +1074,7 @@ Feature: Tab management
And I open data/numbers/2.txt in a new tab And I open data/numbers/2.txt in a new tab
And I run :tab-pin And I run :tab-pin
And I run :tab-close And I run :tab-close
And I wait for "*want to close a pinned tab*" in the log And I wait for a prompt
And I run :prompt-accept yes And I run :prompt-accept yes
Then the following tabs should be open: Then the following tabs should be open:
- data/numbers/1.txt (active) - data/numbers/1.txt (active)

View File

@ -19,3 +19,8 @@
import pytest_bdd as bdd import pytest_bdd as bdd
bdd.scenarios('tabs.feature') bdd.scenarios('tabs.feature')
@bdd.when("I wait for a prompt")
def wait_for_prompt(quteproc):
quteproc.wait_for(message='Asking question *')