Stabilise audio-player reply button clicking in playwright (#28243)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
061c8217b3
commit
c278d2f31e
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ test.describe("Audio player", () => {
|
||||||
|
|
||||||
// Find and click "Reply" button
|
// Find and click "Reply" button
|
||||||
const clickButtonReply = async () => {
|
const clickButtonReply = async () => {
|
||||||
|
await tile.scrollIntoViewIfNeeded();
|
||||||
await tile.hover();
|
await tile.hover();
|
||||||
await tile.getByRole("button", { name: "Reply", exact: true }).click();
|
await tile.getByRole("button", { name: "Reply", exact: true }).click();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue