https://cypress.io logo
Hi, I have this code: ` cy.get('@toggle').get('...
# e2e-testing
r
Hi, I have this code:
cy.get('@toggle').get('input').should('have.attr', 'aria-checked').and('match', /false/);
but when I type "/false" it actually passes. But when I type random stuff like "sdifgjhsdifhjsdfse" it fails as expected. Why is that?