diff --git a/src/test/java/org/dvsa/testing/framework/stepdefs/vol/RefundInterim.java b/src/test/java/org/dvsa/testing/framework/stepdefs/vol/RefundInterim.java index ea1707747..426266bbf 100644 --- a/src/test/java/org/dvsa/testing/framework/stepdefs/vol/RefundInterim.java +++ b/src/test/java/org/dvsa/testing/framework/stepdefs/vol/RefundInterim.java @@ -39,7 +39,7 @@ public void theInterimFeeShouldBeRefunded() throws HttpException { waitForTextToBePresent("£68.00"); clickByLinkText("Grant Interim Fee for application"); waitForTextToBePresent("Fee details"); - long kickoutTime = System.currentTimeMillis() + 160000; + long kickoutTime = System.currentTimeMillis() + 200000; do { refreshPageWithJavascript(); } while(!getText("//*//dd//strong", SelectorType.XPATH).toLowerCase().contains("refunded") && System.currentTimeMillis() < kickoutTime);