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

This commit is contained in:
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

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