diff --git a/packages/showcase/cypress/e2e/components/card.cy.ts b/packages/showcase/cypress/e2e/components/card.cy.ts index 2b7a970..a799e2b 100644 --- a/packages/showcase/cypress/e2e/components/card.cy.ts +++ b/packages/showcase/cypress/e2e/components/card.cy.ts @@ -64,7 +64,7 @@ describe(CY_CATEGORIES.events, () => { cy.checkEvent(card, eventType); cy.get(`${cardTag}#material-material-0`) .findCyElement(rippleSurface) - .first() + .parent() // the actual listener is on the parent in this case .click(); cy.getCyElement(check).should("exist"); });