Fix some playwright flaky tests (#12357)
* Fix flaky test `should memorize the timeline position when switch Room A -> Room B -> Room A` Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix flaky test `should be correctly rendered - high contrast theme` Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix flaky test `Cryptography › setting up secure key backup should work isDeviceVerified=false` Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
2cbf92860b
commit
ea3fff2d2f
7 changed files with 14 additions and 0 deletions
|
@ -92,6 +92,10 @@ test.describe("Room Directory", () => {
|
|||
|
||||
// Display Room B
|
||||
await app.viewRoomById(roomBId);
|
||||
|
||||
// Let the app settle to avoid flakiness
|
||||
await page.waitForTimeout(500);
|
||||
|
||||
// Display Room A
|
||||
await app.viewRoomById(roomAId);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue