Update stickers.spec.ts - use Cypress Testing Library (#10622)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara
2023-04-17 05:56:37 +00:00
committed by GitHub
parent 7751f9c622
commit 93858813a3

View File

@@ -67,8 +67,7 @@ const WIDGET_HTML = `
`;
function openStickerPicker() {
cy.get(".mx_MessageComposer_buttonMenu").click();
cy.get("#stickersButton").click();
cy.openMessageComposerOptions().findByRole("menuitem", { name: "Sticker" }).click();
}
function sendStickerFromPicker() {