Merge pull request #313 from mozilla/driverTimeout

removing timeout limit for front end tests
This commit is contained in:
Danny Coates 2017-07-25 13:21:59 -07:00 committed by GitHub
commit 416e8d81f9

View file

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