diff --git a/cypress/integration/events.spec.ts b/cypress/integration/events.spec.ts index a3e321b6c9..6ea6453d66 100644 --- a/cypress/integration/events.spec.ts +++ b/cypress/integration/events.spec.ts @@ -71,7 +71,7 @@ describe('[Events]', () => { cy.get('[data-cy=card]').its('length').should('be.eq', 2) cy.step('Clear location') - cy.get('[data-cy=location]').find('input:eq(0)').clear().wait(500) + cy.get('button.ap-icon-clear').click() cy.get('[data-cy=card]').its('length').should('be.eq', 5) }) })