Files
tp-we-vue/node_modules/eslint-plugin-cypress/docs/rules/no-debug.md
2024-11-28 23:08:17 +01:00

447 B

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