bdd: Add test for :follow-selected --tab with JS.
This commit is contained in:
parent
c9a35e7f1e
commit
ab22b7740f
@ -295,8 +295,21 @@ Feature: Caret mode
|
|||||||
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
|
Scenario: :follow-selected with --tab (with JS)
|
||||||
When I run :tab-only
|
When I set content -> allow-javascript to true
|
||||||
|
And 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)
|
||||||
|
|
||||||
|
Scenario: :follow-selected with --tab (without JS)
|
||||||
|
When I set content -> allow-javascript to false
|
||||||
|
And I run :tab-only
|
||||||
And I run :enter-mode caret
|
And I run :enter-mode caret
|
||||||
And I run :toggle-selection
|
And I run :toggle-selection
|
||||||
And I run :move-to-end-of-word
|
And I run :move-to-end-of-word
|
||||||
|
Loading…
Reference in New Issue
Block a user