mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 22:50:53 +03:00
removing timeout limit for front end tests
This commit is contained in:
@@ -7,8 +7,8 @@ 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'), 10000);
|
driver.wait(until.titleIs('Mocha Tests'));
|
||||||
driver.wait(until.titleMatches(/^[0-1]$/), 10000);
|
driver.wait(until.titleMatches(/^[0-1]$/));
|
||||||
|
|
||||||
driver.getTitle().then(title => {
|
driver.getTitle().then(title => {
|
||||||
driver.quit().then(() => {
|
driver.quit().then(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user