fix composer issue and more

This commit is contained in:
Bruno Windels 2018-08-09 14:23:09 +02:00
parent af0c0c0afe
commit 2c983f8cee
7 changed files with 54 additions and 29 deletions

View file

@ -16,8 +16,8 @@ limitations under the License.
const assert = require('assert');
const acceptInvite = require("./accept-invite")
module.exports = async function acceptServerNoticesInviteAndConsent(session, noticesName) {
await acceptInvite(session, noticesName);
module.exports = async function acceptServerNoticesInviteAndConsent(session) {
await acceptInvite(session, "Server Notices");
session.log.step(`accepts terms & conditions`);
const consentLink = await session.waitAndQuery(".mx_EventTile_body a", 1000);
const termsPagePromise = session.waitForNewPage();