click on element of a class cypress code example
Example 1: cypress element css
cy
.get('nav') // yields <nav>
.should('be.visible') // yields <nav>
.should('have.css', 'font-family') // yields 'sans-serif'
.and('match', /serif/) // yields 'sans-serif'
Example 2: cypress multiple true
cy.get('whatever').type('Test all the things', { multiple: true });