Stabilise audio-player reply button clicking in playwright (#28243)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/28254/head
Michael Telatynski 2024-10-21 11:36:21 +01:00 committed by GitHub
parent 061c8217b3
commit c278d2f31e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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();
};