output document html on error and dont make a screenshot on submit

This commit is contained in:
Bruno Windels 2018-07-27 20:01:13 +02:00
parent e50420dd1b
commit a5c8911445
2 changed files with 13 additions and 2 deletions

View file

@ -55,7 +55,7 @@ module.exports = async function signup(page, username, password, homeserver) {
const error_text = await helpers.tryGetInnertext(page, '.mx_Login_error');
assert.strictEqual(!!error_text, false);
//submit form
await page.screenshot({path: "beforesubmit.png", fullPage: true});
//await page.screenshot({path: "beforesubmit.png", fullPage: true});
await registerButton.click();
//confirm dialog saying you cant log back in without e-mail