DEV: Restore { visible: true } for login button in smoke test

This was removed erroneously in 38b4e3b5a7
This commit is contained in:
David Taylor 2020-01-07 12:58:08 +00:00
parent 38b4e3b5a7
commit 50357b161e
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ const path = require("path");
});
await exec("expect a log in button in the header", () => {
return page.waitForSelector("header .login-button");
return page.waitForSelector("header .login-button", { visible: true });
});
if (process.env.LOGIN_AT_BEGINNING) {