You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Introduce small delay to let redaction propagate for tests (#8311)
This commit is contained in:
committed by
GitHub
parent
26b771bbf9
commit
0e68c16a90
@@ -92,6 +92,7 @@ export async function redactThreadMessage(session: ElementSession): Promise<void
|
|||||||
session.log.done();
|
session.log.done();
|
||||||
|
|
||||||
await session.query(".mx_ThreadView .mx_RedactedBody");
|
await session.query(".mx_ThreadView .mx_RedactedBody");
|
||||||
|
await session.delay(200); // give the app a chance to settle
|
||||||
|
|
||||||
session.log.endGroup();
|
session.log.endGroup();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user