From 1e6f9dd09685084b7e85978b0bbdf9c239e3ac0a Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 5 Aug 2025 14:06:44 +0100 Subject: [PATCH] Fix race condition in flaky reply chain test (#30479) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- playwright/e2e/audio-player/audio-player.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/playwright/e2e/audio-player/audio-player.spec.ts b/playwright/e2e/audio-player/audio-player.spec.ts index a8cb15a5da..8532362f6b 100644 --- a/playwright/e2e/audio-player/audio-player.spec.ts +++ b/playwright/e2e/audio-player/audio-player.spec.ts @@ -19,6 +19,7 @@ const clickButtonReply = async (tile: Locator) => { await tile.hover(); await tile.getByRole("button", { name: "Reply", exact: true }).click(); }).toPass(); + await expect(tile.page().getByText("Replying", { exact: true })).toBeVisible(); }; test.describe("Audio player", { tag: ["@no-firefox", "@no-webkit"] }, () => {