Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 447 Bytes

no-pause.md

File metadata and controls

19 lines (13 loc) · 447 Bytes

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

It is recommended to remove any cy.pause commands before committing specs to avoid other developers getting unexpected results.

Rule Details

Examples of incorrect code for this rule:

cy.pause();
cy.get('selector').pause();

Examples of correct code for this rule:

cy.get('selector')