Skip to content

Commit

Permalink
πŸ“ Update snapshot options docs in README (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robdel12 authored Jul 30, 2021
1 parent 62a4a01 commit 96e476b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,7 @@ $ percy exec -- cypress run
`cy.percySnapshot([name][, options])`

- `name` - The snapshot name; must be unique to each snapshot; defaults to the full test title
- `options` - Additional snapshot options (overrides any project options)
- `options.widths` - An array of widths to take screenshots at
- `options.minHeight` - The minimum viewport height to take screenshots at
- `options.percyCSS` - Percy specific CSS only applied in Percy's rendering environment
- `options.requestHeaders` - Headers that should be used during asset discovery
- `options.enableJavaScript` - Enable JavaScript in Percy's rendering environment
- `options` - [See per-snapshot configuration options](https://docs.percy.io/docs/cli-configuration#per-snapshot-configuration)

## Upgrading

Expand Down

0 comments on commit 96e476b

Please sign in to comment.