Skip to content

Commit

Permalink
docs: update user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
tom9744 committed Apr 24, 2024
1 parent c48a099 commit eb900fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Rules with a check mark (✅) are enabled by default while using the `plugin:cyp
| | [no-force](./docs/rules/no-force.md) | Disallow using `force: true` with action commands |
| | [assertion-before-screenshot](./docs/rules/assertion-before-screenshot.md) | Ensure screenshots are preceded by an assertion |
| | [require-data-selectors](./docs/rules/require-data-selectors.md) | Only allow data-\* attribute selectors (require-data-selectors) |
| | [no-pause](./docs/rules/no-pause.md) | Disallow `cy.pause()` parent command |
| | [no-pause](./docs/rules/no-pause.md) | Disallow using `cy.pause()` |

## Mocha and Chai

Expand Down
8 changes: 1 addition & 7 deletions docs/rules/no-pause.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,5 @@ Invalid:

```js
cy.pause();
```

Valid:

```js
// only the parent cy.pause command is detected
cy.get('selector').pause();
cy.get("selector").pause();
```

0 comments on commit eb900fc

Please sign in to comment.