Cypress - Component Testing
Find the mistake in this test snippet:
cy.mount(MyComponent, { props: { visible: true } })
cy.get('.modal').should('be.visible')
cy.get('.close-btn').click()
cy.get('.modal').should('not.exist')