add more tests for hints auto-follow
This commit is contained in:
parent
24f8ed8ac1
commit
073e5555ca
@ -292,6 +292,14 @@ Feature: Using hints
|
|||||||
And I press the key "a"
|
And I press the key "a"
|
||||||
Then data/hello.txt should be loaded
|
Then data/hello.txt should be loaded
|
||||||
|
|
||||||
|
Scenario: Using hints -> auto-follow == 'never' without Enter in letter mode
|
||||||
|
When I open data/hints/html/simple.html
|
||||||
|
And I set hints -> mode to letter
|
||||||
|
And I set hints -> auto-follow to never
|
||||||
|
And I run :hint
|
||||||
|
And I press the key "a"
|
||||||
|
Then "Leaving mode KeyMode.hint (reason: followed)" should not be logged
|
||||||
|
|
||||||
Scenario: Using hints -> auto-follow == 'never' in letter mode
|
Scenario: Using hints -> auto-follow == 'never' in letter mode
|
||||||
When I open data/hints/html/simple.html
|
When I open data/hints/html/simple.html
|
||||||
And I set hints -> mode to letter
|
And I set hints -> mode to letter
|
||||||
@ -325,10 +333,19 @@ Feature: Using hints
|
|||||||
And I press the key "follow me!"
|
And I press the key "follow me!"
|
||||||
Then data/hello.txt should be loaded
|
Then data/hello.txt should be loaded
|
||||||
|
|
||||||
|
Scenario: Using hints -> auto-follow == 'never' without Enter in number mode
|
||||||
|
When I open data/hints/html/simple.html
|
||||||
|
And I set hints -> mode to number
|
||||||
|
And I set hints -> auto-follow to never
|
||||||
|
And I run :hint
|
||||||
|
# this actually presses the keys one by one
|
||||||
|
And I press the key "follow me!"
|
||||||
|
Then "Leaving mode KeyMode.hint (reason: followed)" should not be logged
|
||||||
|
|
||||||
Scenario: Using hints -> auto-follow == 'never' in number mode
|
Scenario: Using hints -> auto-follow == 'never' in number mode
|
||||||
When I open data/hints/html/simple.html
|
When I open data/hints/html/simple.html
|
||||||
And I set hints -> mode to number
|
And I set hints -> mode to number
|
||||||
And I set hints -> auto-follow to full-match
|
And I set hints -> auto-follow to never
|
||||||
And I run :hint
|
And I run :hint
|
||||||
# this actually presses the keys one by one
|
# this actually presses the keys one by one
|
||||||
And I press the key "follow me!"
|
And I press the key "follow me!"
|
||||||
|
Loading…
Reference in New Issue
Block a user