adding flexibility for circle test times
This commit is contained in:
parent
729f716e97
commit
8d00372824
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ const driver = new webdriver.Builder()
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
driver.get(path.join('file:///', __dirname, '/frontend.test.html'));
|
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.wait(until.titleMatches(/^[0-1]$/), 10000);
|
||||||
|
|
||||||
driver.getTitle().then(title => {
|
driver.getTitle().then(title => {
|
||||||
|
|
Loading…
Reference in a new issue