From 7a2c01e1cf8ca0e1c05ce3f009c063d2b10c966b Mon Sep 17 00:00:00 2001 From: shirletan Date: Tue, 9 May 2017 16:39:39 -0700 Subject: [PATCH] Work around timing issue with travis osx issue (#1092) * add more wait time for test setup * increase selenium wait time * add more wait --- scripts/test_setup.sh | 5 +++-- tests/jsunit/test_runner.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/test_setup.sh b/scripts/test_setup.sh index 940b412b0..4220923f3 100755 --- a/scripts/test_setup.sh +++ b/scripts/test_setup.sh @@ -16,7 +16,8 @@ sleep 5 check_command scripts/get_selenium.sh sleep 5 check_command scripts/get_chromedriver.sh -sleep 6 +sleep 10 check_command scripts/selenium_connect.sh -sleep 5 +sleep 10 + exit $EXIT_STATUS diff --git a/tests/jsunit/test_runner.js b/tests/jsunit/test_runner.js index d3a44944a..bfd7c0bd3 100644 --- a/tests/jsunit/test_runner.js +++ b/tests/jsunit/test_runner.js @@ -10,7 +10,7 @@ var path = process.cwd(); var browser = webdriverio .remote(options) .init() - .url("file://" + path + "/tests/jsunit/index.html").pause(3000); + .url("file://" + path + "/tests/jsunit/index.html").pause(5000); browser