Add a test for ":tab-focus last" after closing a lower number tab
This commit is contained in:
parent
779ed7e06b
commit
a474b9b245
|
|
@ -303,6 +303,16 @@ Feature: Tab management
|
|||
- data/numbers/3.txt
|
||||
- data/numbers/2.txt (active)
|
||||
|
||||
Scenario: :tab-focus last after closing a lower number tab
|
||||
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-close with count 1
|
||||
And I run :tab-focus last
|
||||
Then the following tabs should be open:
|
||||
- data/numbers/2.txt (active)
|
||||
- data/numbers/3.txt
|
||||
|
||||
# tab-prev/tab-next
|
||||
|
||||
Scenario: :tab-prev
|
||||
|
|
|
|||
Loading…
Reference in New Issue