Skip to content

Commit

Permalink
Update src/content/snapshotOptions/ignoring-elements.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Varun Vachhar <varunvachhar@gmail.com>
  • Loading branch information
jonniebigodes and winkerVSbecks authored Aug 21, 2024
1 parent 74f05a9 commit 862041c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/snapshotOptions/ignoring-elements.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const Default: Story = {

### With E2E

By default, Chromatic's E2E integration runs tests and captures a snapshot at the end of each Playwright or Cypress test; either it passes or fails. However, if you've enabled targeted snapshots with [Playwright](/docs/playwright/targeted-snapshots) or [Cypress](/docs/cypress/targeted-snapshots) to pinpoint visual changes when the test reaches a specific point, you can opt out of the automated snapshotting process by enabling the `disableAutoSnapshot` configuration option. This is useful when capturing snapshots at specific points in your test, such as when a particular element is visible or when a specific action is performed.
By default, Chromatic's Playwright and Cypress integrations run tests and captures a snapshot at the end of each E2E test; either it passes or fails. However, if you've enabled targeted snapshots with [Playwright](/docs/playwright/targeted-snapshots) or [Cypress](/docs/cypress/targeted-snapshots) to pinpoint visual changes when the test reaches a specific point, you can opt out of the automated snapshotting process by enabling the `disableAutoSnapshot` configuration option. This is useful when capturing snapshots at specific points in your test, such as when a particular element is visible or when a specific action is performed.

{/* prettier-ignore-start */}

Expand Down

0 comments on commit 862041c

Please sign in to comment.