fix CI some more

This commit is contained in:
Michael Telatynski 2020-09-09 12:59:41 +01:00
parent d9e17e89b5
commit 39a59dbefa
2 changed files with 3 additions and 3 deletions

View file

@ -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) => {

View file

@ -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
}
}