https://github.com/atrakh/cypress-ct-snapshots
https://github.com/atrakh/cypress-ct-snapshots
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/atrakh/cypress-ct-snapshots
- Owner: atrakh
- Created: 2021-04-19T20:36:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-19T20:40:58.000Z (about 5 years ago)
- Last Synced: 2025-10-13T00:08:07.116Z (9 months ago)
- Language: TypeScript
- Size: 538 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repo demonstrates an issue with integrating the `@cypress/snapshot` npm package into cypress component tests.
Notable files:
- `cypress/plugins/index.ts`
- `cypress/support/commands.ts`
- `src/App.spec.tsx`
Running `App.spec.tsx` (`npm run cypress`) results in an infinite cycle of the test reloading after passing. This issue is gone if you comment out the registration of `@cypress/snapshot` (line 2 of `cypress/support/command.ts`)
