This commit is contained in:
2024-11-28 23:08:17 +01:00
parent 8895fde030
commit 0dda8e760c
16116 changed files with 2866428 additions and 71 deletions

View File

@@ -0,0 +1,19 @@
# Disallow using `cy.pause()` calls (`cypress/no-pause`)
<!-- end auto-generated rule header -->
It is recommended to remove any [cy.pause](https://on.cypress.io/pause) commands before committing specs to avoid other developers getting unexpected results.
## Rule Details
Examples of **incorrect** code for this rule:
```js
cy.pause();
cy.get('selector').pause();
```
Examples of **correct** code for this rule:
```js
cy.get('selector')
```