mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
delint e2e test
This commit is contained in:
parent
d602dac7ef
commit
29e5a69b7a
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ async function createSpace(session, name, isPublic = false) {
|
|||
session.log.step(`creates space "${name}"`);
|
||||
|
||||
await openSpaceCreateMenu(session);
|
||||
const visibilityButton = await session.query(isPublic ? ".mx_SpaceCreateMenuType_public" : ".mx_SpaceCreateMenuType_private");
|
||||
const className = isPublic ? ".mx_SpaceCreateMenuType_public" : ".mx_SpaceCreateMenuType_private";
|
||||
const visibilityButton = await session.query(className);
|
||||
await visibilityButton.click();
|
||||
|
||||
const nameInput = await session.query('input[name="spaceName"]');
|
||||
|
|
Loading…
Reference in a new issue