mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Introduce small delay to let redaction propagate for tests (#8311)
This commit is contained in:
parent
26b771bbf9
commit
0e68c16a90
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ export async function redactThreadMessage(session: ElementSession): Promise<void
|
|||
session.log.done();
|
||||
|
||||
await session.query(".mx_ThreadView .mx_RedactedBody");
|
||||
await session.delay(200); // give the app a chance to settle
|
||||
|
||||
session.log.endGroup();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue