Skip to content

Commit 04e140e

Browse files
committed
Extending preferences tests time
1 parent 9a5599a commit 04e140e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/uk/co/evoco/webdriver/utils/ChromeDriverPreferenceTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void testChromeBrowserPreferencesApplied() throws Exception {
3131
webDriver.get(baseUrl);
3232
String expectedFile = new File("run-generated-files/chrome/downloads").getCanonicalPath() + "/sampleFile.pdf";
3333
webDriver.findElement(By.xpath("//a[text()='clickHereToDownLoadAFile']")).click();
34-
Thread.sleep(2000);//need to wait until file download
34+
Thread.sleep(5000);//need to wait until file download
3535
assertThat(new File(expectedFile).exists(), is(true));
3636
}
3737

0 commit comments

Comments
 (0)