cypress-visual-regression
cypress-plugin-snapshots
cypress-visual-regression | cypress-plugin-snapshots | |
---|---|---|
2 | 3 | |
614 | 489 | |
0.8% | - | |
8.5 | 0.0 | |
6 days ago | 6 months ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cypress-visual-regression
-
Show HN: Instantly create a GitHub repository to take screenshots of a web page
https://github.com/mojoaxel/awesome-regression-testing#tools...
"visual-regression": https://github.com/topics/visual-regression
Cypress.io can run in a CI job, does Time Travel, works with DevTools debugger, can take screenshots and video, and it looks like there's a visual regression testing thing for it: https://github.com/mjhea0/cypress-visual-regression
-
Understanding and implementing Cypress snapshot testing
The cypress-visual-regression module adds the compareSnapshot() Cypress command which takes a screenshot of the full screen or of a single HTML element.
cypress-plugin-snapshots
-
Visual Regression Testing with Cypress 10
One plugin which Cypress suggests is the cypress-plugin-snapshots, but if you wander into Cypress’ plugin “market” you can see that there are more. After checking a few, I have decided to go with the cypress-image-diff-js plugin because it’s free, has a relatively simple api, seems to have a good update activity and a fair amount of GitHub stars.
-
E2E Testing a Video Game
I had a lot of fun putting this together and was able to do so quickly with the help of Yannick's boilerplate, Kenny's Assets, Phaser, Cypress and cypress-plugin-snapshots.
-
Understanding and implementing Cypress snapshot testing
The cypress-plugin-snapshots module has already been mentioned earlier, but I'll mention it again as it provides image snapshot functionality as well. The toMatchImageSnapshot() command can take a screenshot of the entire web document or of a specific element.
What are some alternatives?
cypress-image-diff - Visual regression test with cypress
pixelmatch - The smallest, simplest and fastest JavaScript pixel-level image comparison library
percy-cypress - Visual testing with Cypress and Percy
cypress-image-snapshot - Catch visual regressions in Cypress
needle - Automated tests for your CSS.
puppeteer - Node.js API for Chrome
image-diff - CLI tool for comparing images
snapshot - Adds value / object / DOM element snapshot testing support to Cypress test runner
cypress-react-app-actions - Access the internals of React components from Cypress end-to-end tests
phaser-project-template - 🕹️ Phaser 3 - Starter Template with TypeScript and webpack.