make end-to-end test failure more verbose

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2019-11-14 14:04:50 +00:00
parent 54dcaf1302
commit 41f4f3ef82
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ module.exports = async function signup(session, username, password, homeserver)
await session.query(".mx_Field_valid #mx_RegistrationForm_password");
//check no errors
const errorText = await session.tryGetInnertext('.mx_Login_error');
assert.strictEqual(!!errorText, false);
assert.strictEqual(errorText, null);
//submit form
//await page.screenshot({path: "beforesubmit.png", fullPage: true});
await registerButton.click();