bdd: Add a test for :follow-selected --tab
This commit is contained in:
parent
7cc98a1248
commit
c9a35e7f1e
@ -294,3 +294,14 @@ Feature: Caret mode
|
|||||||
And I run :move-to-end-of-word
|
And I run :move-to-end-of-word
|
||||||
And I run :follow-selected
|
And I run :follow-selected
|
||||||
Then data/hello.txt should be loaded
|
Then data/hello.txt should be loaded
|
||||||
|
|
||||||
|
Scenario: :follow-selected with --tab
|
||||||
|
When I run :tab-only
|
||||||
|
And I run :enter-mode caret
|
||||||
|
And I run :toggle-selection
|
||||||
|
And I run :move-to-end-of-word
|
||||||
|
And I run :follow-selected --tab
|
||||||
|
Then data/hello.txt should be loaded
|
||||||
|
And the following tabs should be open:
|
||||||
|
- data/caret.html
|
||||||
|
- data/hello.txt (active)
|
||||||
|
Loading…
Reference in New Issue
Block a user