adding flexibility for circle test times

This commit is contained in:
Abhinav Adduri 2017-07-17 18:06:20 -07:00
parent 729f716e97
commit 8d00372824

View file

@ -7,7 +7,7 @@ const driver = new webdriver.Builder()
.build();
driver.get(path.join('file:///', __dirname, '/frontend.test.html'));
driver.wait(until.titleIs('Mocha Tests'), 1000);
driver.wait(until.titleIs('Mocha Tests'), 10000);
driver.wait(until.titleMatches(/^[0-1]$/), 10000);
driver.getTitle().then(title => {