bdd: Add tests for :stop/:reload with wrong count.
This commit is contained in:
parent
e2994e9375
commit
2cadac6b6e
@ -136,6 +136,12 @@ Feature: Various utility commands.
|
|||||||
custom/redirect-later?delay=-1
|
custom/redirect-later?delay=-1
|
||||||
# no request on / because we stopped the redirect
|
# no request on / because we stopped the redirect
|
||||||
|
|
||||||
|
Scenario: :stop with wrong count
|
||||||
|
When I open data/hello.txt
|
||||||
|
And I run :tab-only
|
||||||
|
And I run :stop with count 2
|
||||||
|
Then no crash should happen
|
||||||
|
|
||||||
Scenario: :reload
|
Scenario: :reload
|
||||||
When I open data/reload.txt
|
When I open data/reload.txt
|
||||||
And I run :reload
|
And I run :reload
|
||||||
@ -150,6 +156,12 @@ Feature: Various utility commands.
|
|||||||
And I wait until headers is loaded
|
And I wait until headers is loaded
|
||||||
Then the header Cache-Control should be set to no-cache
|
Then the header Cache-Control should be set to no-cache
|
||||||
|
|
||||||
|
Scenario: :reload with wrong count
|
||||||
|
When I open data/hello.txt
|
||||||
|
And I run :tab-only
|
||||||
|
And I run :reload with count 2
|
||||||
|
Then no crash should happen
|
||||||
|
|
||||||
# :view-source
|
# :view-source
|
||||||
|
|
||||||
Scenario: :view-source
|
Scenario: :view-source
|
||||||
|
Loading…
Reference in New Issue
Block a user