wait to be visible
This commit is contained in:
parent
1643b9552e
commit
ba1ee86c67
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module.exports = async function signup(page, username, password, homeserver) {
|
|||
await advancedRadioButton.click();
|
||||
}
|
||||
// wait until register button is visible
|
||||
await page.waitForSelector('.mx_Login_submit[value=Register]');
|
||||
await page.waitForSelector('.mx_Login_submit[value=Register]', {visible: true, timeout: 500});
|
||||
//fill out form
|
||||
const loginFields = await page.$$('.mx_Login_field');
|
||||
assert.strictEqual(loginFields.length, 7);
|
||||
|
|
Loading…
Reference in a new issue