https://cypress.io logo
I also tried ```cy.get('@toggle').get('input').sh...
# e2e-testing
r
I also tried
Copy code
cy.get('@toggle').get('input').should('have.attr', 'aria-checked', 'true')
, that works. But when I type 'false' it also passes. And then when I type random data it fails as expected.