adding flexibility for circle test times
This commit is contained in:
parent
729f716e97
commit
8d00372824
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue