Skip to content

Commit

Permalink
Stabilise audio-player reply button clicking in playwright
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Oct 18, 2024
1 parent 26430a3 commit 23d9321
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playwright/e2e/audio-player/audio-player.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ test.describe("Audio player", () => {

// Find and click "Reply" button
const clickButtonReply = async () => {
await tile.scrollIntoViewIfNeeded();
await tile.hover();
await tile.getByRole("button", { name: "Reply", exact: true }).click();
};
Expand Down

0 comments on commit 23d9321

Please sign in to comment.