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

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
t3chguy/dedup-icons-17oct
Suguru Hirahara 2023-04-17 05:56:37 +00:00 committed by GitHub
parent 7751f9c622
commit 93858813a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

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() {