cypress/no-debug
January 5, 2026 ยท View on GitHub
๐ Disallow using cy.debug() calls.
It is recommended to remove any cy.debug commands before committing specs to avoid other developers getting unexpected results.
Rule Details
Examples of incorrect code for this rule:
cy.debug()
cy.get('selector').debug()
Examples of correct code for this rule:
cy.get('selector')