File tree 2 files changed +2
-8
lines changed
2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ Rules with a check mark (✅) are enabled by default while using the `plugin:cyp
126
126
| | [ no-force] ( ./docs/rules/no-force.md ) | Disallow using ` force: true ` with action commands |
127
127
| | [ assertion-before-screenshot] ( ./docs/rules/assertion-before-screenshot.md ) | Ensure screenshots are preceded by an assertion |
128
128
| | [ require-data-selectors] ( ./docs/rules/require-data-selectors.md ) | Only allow data-\* attribute selectors (require-data-selectors) |
129
- | | [ no-pause] ( ./docs/rules/no-pause.md ) | Disallow ` cy.pause() ` parent command |
129
+ | | [ no-pause] ( ./docs/rules/no-pause.md ) | Disallow using ` cy.pause() ` |
130
130
131
131
## Mocha and Chai
132
132
Original file line number Diff line number Diff line change @@ -6,11 +6,5 @@ Invalid:
6
6
7
7
``` js
8
8
cy .pause ();
9
- ```
10
-
11
- Valid:
12
-
13
- ``` js
14
- // only the parent cy.pause command is detected
15
- cy .get (' selector' ).pause ();
9
+ cy .get (" selector" ).pause ();
16
10
```
You can’t perform that action at this time.
0 commit comments