Powered by
I also tried ```cy.get('@toggle').get('input').sh...
# e2e-testing
r
red-toddler-79937
08/02/2022, 7:42 PM
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.
Previous
Next