Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Introduce small delay to let redaction propagate for tests (#8311)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Apr 13, 2022
1 parent 26b771b commit 0e68c16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/end-to-end-tests/src/usecases/threads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 0e68c16

Please sign in to comment.