Introduce small delay to let redaction propagate for tests (#8311)

pull/21833/head
Michael Telatynski 2022-04-13 19:39:30 +01:00 committed by GitHub
parent 26b771bbf9
commit 0e68c16a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}