Use higher timeouts for smoke_test

This commit is contained in:
Gerhard Schlager 2017-12-20 12:47:22 +01:00
parent 86c86a1ddb
commit e6fc543aef

View File

@ -60,7 +60,7 @@ const path = require('path');
});
await exec("go to latest page", () => {
return page.goto(path.join(url, 'latest'), { timeout: 1500 });
return page.goto(path.join(url, 'latest'), { timeout: 3000 });
});
await exec("at least one topic shows up", () => {
@ -80,7 +80,7 @@ const path = require('path');
});
await exec("at least one post body", () => {
return page.waitForSelector(".topic-post", { timeout: 500, visible: true });
return page.waitForSelector(".topic-post", { timeout: 2000, visible: true });
});
await exec("click on the 1st user", () => {