mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 12:45:11 +08:00
fix CI some more
This commit is contained in:
parent
d9e17e89b5
commit
39a59dbefa
@ -65,6 +65,9 @@ module.exports.verifyDeviceForUser = async function(session, name, expectedDevic
|
||||
|
||||
async function getMembersInMemberlist(session) {
|
||||
await openRoomSummaryCard(session);
|
||||
const memberPanelButton = await session.query(".mx_RoomSummaryCard_icon_people");
|
||||
// We are back at the room summary card
|
||||
await memberPanelButton.click();
|
||||
|
||||
const memberNameElements = await session.queryAll(".mx_MemberList .mx_EntityTile_name");
|
||||
return Promise.all(memberNameElements.map(async (el) => {
|
||||
|
@ -32,9 +32,6 @@ module.exports.goBackToRoomSummaryCard = async function(session) {
|
||||
// Sometimes our tests have this opened to MemberInfo
|
||||
await backButton.click();
|
||||
} catch (e) {
|
||||
const memberPanelButton = await session.query(".mx_RoomSummaryCard_icon_people");
|
||||
// We are back at the room summary card
|
||||
await memberPanelButton.click();
|
||||
break; // stop trying to go further back
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user