javascript - Cypress: Test if element does not exist - Stack Overflow

PHOTO EMBED

Wed May 08 2024 08:48:59 GMT+0000 (Coordinated Universal Time)

Saved by @al.thedigital #shouldnot #notexist

cy.get('.check-box-sub-text').should('not.exist');
content_copyCOPY

https://stackoverflow.com/questions/48915773/cypress-test-if-element-does-not-exist