mirror of https://github.com/vector-im/riot-web
Stabilise audio-player reply button clicking in playwright (#28243)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/28254/head
parent
061c8217b3
commit
c278d2f31e
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue