add end-to-end tests for navigating with a count
This commit is contained in:
parent
67609af21b
commit
ad9dfc1981
@ -11,6 +11,11 @@ Feature: Using :navigate
|
||||
And I run :navigate up
|
||||
Then data/navigate should be loaded
|
||||
|
||||
Scenario: Navigating up by count
|
||||
When I open data/navigate/sub/index.html
|
||||
And I run :navigate up with count 2
|
||||
Then data/navigate should be loaded
|
||||
|
||||
# prev/next
|
||||
|
||||
Scenario: Navigating to previous page
|
||||
@ -60,6 +65,16 @@ Feature: Using :navigate
|
||||
And I run :navigate increment
|
||||
Then the error "No number found in URL!" should be shown
|
||||
|
||||
Scenario: Incrementing number in URL by count
|
||||
When I open data/numbers/3.txt
|
||||
And I run :navigate increment with count 3
|
||||
Then data/numbers/6.txt should be loaded
|
||||
|
||||
Scenario: Decrementing number in URL by count
|
||||
When I open data/numbers/8.txt
|
||||
And I run :navigate decrement with count 5
|
||||
Then data/numbers/3.txt should be loaded
|
||||
|
||||
Scenario: Setting url-incdec-segments
|
||||
When I set general -> url-incdec-segments to anchor
|
||||
And I open data/numbers/1.txt
|
||||
|
Loading…
Reference in New Issue
Block a user