mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 11:51:36 +02:00
add e2e session.delay explainer
This commit is contained in:
parent
db646d5987
commit
de5ca92e4e
@ -31,8 +31,10 @@ module.exports = async function signup(session, username, password, homeserver)
|
||||
// accept homeserver
|
||||
await nextButton.click();
|
||||
}
|
||||
//fill out form
|
||||
// Delay required because of local race condition on macOs
|
||||
// Where the form is not query-able despite being present in the DOM
|
||||
await session.delay(100);
|
||||
//fill out form
|
||||
const usernameField = await session.query("#mx_RegistrationForm_username");
|
||||
const passwordField = await session.query("#mx_RegistrationForm_password");
|
||||
const passwordRepeatField = await session.query("#mx_RegistrationForm_passwordConfirm");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user