tests: Make test_reload/..._with_force more stable.

This waits until the pages have actually been reloaded.
This commit is contained in:
Florian Bruhin 2015-11-23 19:44:53 +01:00
parent e2da9aa3f8
commit f3b89dba9b

View File

@ -168,6 +168,7 @@ Feature: Various utility commands.
Scenario: :reload
When I open data/hello.txt
And I run :reload
And I wait until data/hello.txt is loaded
Then the requests should be:
data/hello.txt
data/hello.txt
@ -175,4 +176,5 @@ Feature: Various utility commands.
Scenario: :reload with force
When I open headers
And I run :reload --force
And I wait until headers is loaded
Then the header Cache-Control should be set to no-cache