You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-09 08:42:50 +03:00
try to fix the e2e tests
This commit is contained in:
@@ -39,6 +39,9 @@ async function createRoom(session, roomName, encrypted=false) {
|
|||||||
const addRoomButton = await roomsSublist.$(".mx_RoomSublist_auxButton");
|
const addRoomButton = await roomsSublist.$(".mx_RoomSublist_auxButton");
|
||||||
await addRoomButton.click();
|
await addRoomButton.click();
|
||||||
|
|
||||||
|
const createRoomButton = await session.query('.mx_AccessibleButton[aria-label="Create new room"]');
|
||||||
|
await createRoomButton.click();
|
||||||
|
|
||||||
const roomNameInput = await session.query('.mx_CreateRoomDialog_name input');
|
const roomNameInput = await session.query('.mx_CreateRoomDialog_name input');
|
||||||
await session.replaceInputText(roomNameInput, roomName);
|
await session.replaceInputText(roomNameInput, roomName);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user