make end-to-end test failure more verbose
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
54dcaf1302
commit
41f4f3ef82
|
@ -61,7 +61,7 @@ module.exports = async function signup(session, username, password, homeserver)
|
||||||
await session.query(".mx_Field_valid #mx_RegistrationForm_password");
|
await session.query(".mx_Field_valid #mx_RegistrationForm_password");
|
||||||
//check no errors
|
//check no errors
|
||||||
const errorText = await session.tryGetInnertext('.mx_Login_error');
|
const errorText = await session.tryGetInnertext('.mx_Login_error');
|
||||||
assert.strictEqual(!!errorText, false);
|
assert.strictEqual(errorText, null);
|
||||||
//submit form
|
//submit form
|
||||||
//await page.screenshot({path: "beforesubmit.png", fullPage: true});
|
//await page.screenshot({path: "beforesubmit.png", fullPage: true});
|
||||||
await registerButton.click();
|
await registerButton.click();
|
||||||
|
|
Loading…
Reference in New Issue