the command log is less than ideal in this case, b...
# best-practices
g
the command log is less than ideal in this case, but it does check if the element is gone. I would not split it though, and use a single
Copy code
js
cy.contains('#table tbody tr', rowName).should("not.exist")
For more examples, see https://glebbahmutov.com/cypress-examples/commands/querying.html and https://glebbahmutov.com/cypress-examples/commands/assertions.html Also read https://glebbahmutov.com/blog/negative-assertions/