Using log instead of prompt functions for test
This commit is contained in:
parent
8d4b55bb80
commit
a254097558
@ -1048,7 +1048,7 @@ Feature: Tab management
|
||||
And I open data/numbers/2.txt in a new tab
|
||||
And I run :tab-pin
|
||||
And I run :tab-close
|
||||
And I wait for a prompt
|
||||
And I wait for "*want to close a pinned tab*" in the log
|
||||
And I run :prompt-accept yes
|
||||
Then the following tabs should be open:
|
||||
- data/numbers/1.txt (active)
|
||||
@ -1059,7 +1059,7 @@ Feature: Tab management
|
||||
And I open data/numbers/2.txt in a new tab
|
||||
And I run :tab-pin
|
||||
And I run :tab-close
|
||||
And I wait for a prompt
|
||||
And I wait for "*want to close a pinned tab*" in the log
|
||||
And I run :prompt-accept no
|
||||
Then the following tabs should be open:
|
||||
- data/numbers/1.txt
|
||||
|
@ -19,8 +19,3 @@
|
||||
|
||||
import pytest_bdd as bdd
|
||||
bdd.scenarios('tabs.feature')
|
||||
|
||||
|
||||
@bdd.when("I wait for a prompt")
|
||||
def wait_for_prompt(quteproc):
|
||||
quteproc.wait_for(message='Asking question *')
|
||||
|
Loading…
Reference in New Issue
Block a user