Skip to content

Commit eb900fc

Browse files
committed
docs: update user guide
1 parent c48a099 commit eb900fc

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Rules with a check mark (✅) are enabled by default while using the `plugin:cyp
126126
| | [no-force](./docs/rules/no-force.md) | Disallow using `force: true` with action commands |
127127
| | [assertion-before-screenshot](./docs/rules/assertion-before-screenshot.md) | Ensure screenshots are preceded by an assertion |
128128
| | [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()` |
130130

131131
## Mocha and Chai
132132

docs/rules/no-pause.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,5 @@ Invalid:
66

77
```js
88
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();
1610
```

0 commit comments

Comments
 (0)