mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +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) {
|
async function getMembersInMemberlist(session) {
|
||||||
await openRoomSummaryCard(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");
|
const memberNameElements = await session.queryAll(".mx_MemberList .mx_EntityTile_name");
|
||||||
return Promise.all(memberNameElements.map(async (el) => {
|
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
|
// Sometimes our tests have this opened to MemberInfo
|
||||||
await backButton.click();
|
await backButton.click();
|
||||||
} catch (e) {
|
} 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
|
break; // stop trying to go further back
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user