hrms-manual/node_modules/eslint-plugin-cypress/docs/rules/no-pause.md

17 lines
320 B
Markdown
Raw Normal View History

2023-09-06 14:51:44 +07:00
## 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();
```