mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +03:00
DRY usernames
This commit is contained in:
parent
36708cc5db
commit
992a0be4d0
1 changed files with 2 additions and 2 deletions
|
@ -76,11 +76,11 @@ async function checkPaginatedDisplayNames(alice, charlies) {
|
|||
});
|
||||
}, messages);
|
||||
}, []);
|
||||
await checkTimelineContains(alice, expectedMessages, "Charly #1-5");
|
||||
await checkTimelineContains(alice, expectedMessages, charlies.log.username);
|
||||
}
|
||||
|
||||
async function checkMemberList(alice, charlies) {
|
||||
alice.log.step("checks the memberlist contains herself, bob and all charlies");
|
||||
alice.log.step(`checks the memberlist contains herself, bob and ${charlies.log.username}`);
|
||||
const displayNames = (await getMembersInMemberlist(alice)).map((m) => m.displayName);
|
||||
assert(displayNames.includes("alice"));
|
||||
assert(displayNames.includes("bob"));
|
||||
|
|
Loading…
Reference in a new issue