In Cypress you can test whether a checkbox is checked by:
cy.get('[data-cy=my-selector]').should('be.checked');
And conversely you can check whether it is not checked by:
cy.get('[data-cy=my-selector]').should('not.be.checked');
I can't find a way to check whether the checkbox is in the indeterminate state.
Is there any way to do that in Cypress?
