Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 447 Bytes

no-debug.md

File metadata and controls

19 lines (13 loc) · 447 Bytes

Disallow using cy.debug() calls (cypress/no-debug)

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')