diff --git a/test/smoke_test.js b/test/smoke_test.js index b4c3af8c89f..4c1e151a0cd 100644 --- a/test/smoke_test.js +++ b/test/smoke_test.js @@ -53,7 +53,9 @@ const path = require('path'); page.on('console', msg => console.log(`PAGE LOG: ${msg.text}`)); - await page.goto(url); + await exec("go to site", () => { + return page.goto(url); + }); await exec("expect a log in button in the header", () => { return page.waitForSelector("header .login-button", { visible: true });