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

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2024-10-21 11:36:21 +01:00
committed by GitHub
parent 061c8217b3
commit c278d2f31e

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