Fix initial tests
This commit is contained in:
parent
92e1181680
commit
9547938f79
@ -160,7 +160,7 @@ def clean_open_tabs(quteproc):
|
|||||||
quteproc.set_setting('tabs', 'last-close', 'blank')
|
quteproc.set_setting('tabs', 'last-close', 'blank')
|
||||||
quteproc.send_cmd(':window-only')
|
quteproc.send_cmd(':window-only')
|
||||||
quteproc.send_cmd(':tab-only')
|
quteproc.send_cmd(':tab-only')
|
||||||
quteproc.send_cmd(':tab-close')
|
quteproc.send_cmd(':tab-close --force')
|
||||||
|
|
||||||
|
|
||||||
@bdd.given('pdfjs is available')
|
@bdd.given('pdfjs is available')
|
||||||
|
@ -1011,21 +1011,32 @@ Feature: Tab management
|
|||||||
- data/numbers/2.txt
|
- data/numbers/2.txt
|
||||||
|
|
||||||
Scenario: :tab-pin unpin
|
Scenario: :tab-pin unpin
|
||||||
When I run :tab-pin
|
When I open data/numbers/1.txt
|
||||||
|
And I open data/numbers/2.txt in a new tab
|
||||||
|
And I open data/numbers/3.txt in a new tab
|
||||||
|
And I run :tab-pin
|
||||||
|
And I run :tab-pin
|
||||||
Then the following tabs should be open:
|
Then the following tabs should be open:
|
||||||
- data/numbers/1.txt
|
- data/numbers/1.txt
|
||||||
- data/numbers/2.txt
|
- data/numbers/2.txt
|
||||||
- data/numbers/3.txt (active)
|
- data/numbers/3.txt (active)
|
||||||
|
|
||||||
Scenario: :tab-pin to index 2
|
Scenario: :tab-pin to index 2
|
||||||
When I run :tab-pin 2
|
When I open data/numbers/1.txt
|
||||||
|
And I open data/numbers/2.txt in a new tab
|
||||||
|
And I open data/numbers/3.txt in a new tab
|
||||||
|
And I run :tab-pin 2
|
||||||
Then the following tabs should be open:
|
Then the following tabs should be open:
|
||||||
- data/numbers/1.txt
|
- data/numbers/1.txt
|
||||||
- data/numbers/3.txt (active)
|
- data/numbers/3.txt (active)
|
||||||
- data/numbers/2.txt
|
- data/numbers/2.txt
|
||||||
|
|
||||||
Scenario: :tab-pin unpin to index 1
|
Scenario: :tab-pin unpin to index 1
|
||||||
When I run :tab-pin 1
|
When I open data/numbers/1.txt
|
||||||
|
And I open data/numbers/2.txt in a new tab
|
||||||
|
And I open data/numbers/3.txt in a new tab
|
||||||
|
And I run :tab-pin
|
||||||
|
And I run :tab-pin 1
|
||||||
Then the following tabs should be open:
|
Then the following tabs should be open:
|
||||||
- data/numbers/3.txt (active)
|
- data/numbers/3.txt (active)
|
||||||
- data/numbers/1.txt
|
- data/numbers/1.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user