From f3b89dba9b070d0783b8b904a0fdb6d3975aabd3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 23 Nov 2015 19:44:53 +0100 Subject: [PATCH] tests: Make test_reload/..._with_force more stable. This waits until the pages have actually been reloaded. --- tests/integration/features/misc.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/features/misc.feature b/tests/integration/features/misc.feature index fcc7820fb..24fabd320 100644 --- a/tests/integration/features/misc.feature +++ b/tests/integration/features/misc.feature @@ -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