Skip to content

Commit

Permalink
docs: add usage instructions for comparadise-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
danadajian committed May 26, 2023
1 parent d1c2d5b commit 79a7e6d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ In a Cypress test that renders your component or visits your site, use `cy.match
This will take a screenshot of whatever Cypress is currently displaying, compare it to a `base.png` that was
previously downloaded from S3, and output a `diff.png` and `new.png` if there is a visual change.

### comparadise-utils Usage

In `cypress/support/commands.ts`:

```ts
import 'comparadise-utils/commands';
import 'comparadise-utils/types';
```

## Executing Your Visual Tests

Usage:
Expand Down

0 comments on commit 79a7e6d

Please sign in to comment.