click button in cypress code example
Example 1: cypress click
cy.get('.btn').click() // Click on button
cy.focused().click() // Click on el with focus
cy.contains('Welcome').click() // Click on first el containing 'Welcome'
//https://docs.cypress.io/api/commands/click.html
Example 2: cypress multiple true
cy.get('whatever').type('Test all the things', { multiple: true });