first commit
This commit is contained in:
commit
eb2f504652
32490 changed files with 5731109 additions and 0 deletions
16
node_modules/eslint-plugin-cypress/docs/rules/no-pause.md
generated
vendored
Normal file
16
node_modules/eslint-plugin-cypress/docs/rules/no-pause.md
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
## Do not use `cy.pause` command
|
||||
|
||||
It is recommended to remove [cy.pause](https://on.cypress.io/pause) command before committing the specs to avoid other developers getting unexpected results.
|
||||
|
||||
Invalid:
|
||||
|
||||
```js
|
||||
cy.pause();
|
||||
```
|
||||
|
||||
Valid:
|
||||
|
||||
```js
|
||||
// only the parent cy.pause command is detected
|
||||
cy.get('selector').pause();
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue