Use the correct selector in E2EE tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
951fda4c3d
commit
55365e632b
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ function getAllEventTiles(session) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getMessageFromEventTile(eventTile) {
|
async function getMessageFromEventTile(eventTile) {
|
||||||
const senderElement = await eventTile.$(".mx_SenderProfile_name");
|
const senderElement = await eventTile.$(".mx_SenderProfile_displayName");
|
||||||
const className = await (await eventTile.getProperty("className")).jsonValue();
|
const className = await (await eventTile.getProperty("className")).jsonValue();
|
||||||
const classNames = className.split(" ");
|
const classNames = className.split(" ");
|
||||||
const bodyElement = await eventTile.$(".mx_EventTile_body");
|
const bodyElement = await eventTile.$(".mx_EventTile_body");
|
||||||
|
|
Loading…
Reference in a new issue