This didn’t work for me on a button I was trying to get:
cy.get('[data-cy-component=single-picker-search] button:visible')
This is what ended up working for me:
cy.get('[data-cy-component=single-picker-search]').filter(':visible')
This didn’t work for me on a button I was trying to get:
cy.get('[data-cy-component=single-picker-search] button:visible')
This is what ended up working for me:
cy.get('[data-cy-component=single-picker-search]').filter(':visible')