snapshot
cypress-plugin-snapshots
snapshot | cypress-plugin-snapshots | |
---|---|---|
1 | 3 | |
116 | 488 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | 5 months ago | |
JavaScript | JavaScript | |
- | 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.
snapshot
-
Understanding and implementing Cypress snapshot testing
The @cypress/snapshot module introduces the Cypress snapshot() command which serializes the selected UI component.
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
cypress-image-snapshot - Catch visual regressions in Cypress
percy-cypress - Visual testing with Cypress and Percy
cypress-cucumber-boilerplate - Cypress.IO Project using Javascript and Cucumber to start automating E2E tests just cloning it and installing dependencies.
cypress-mochawesome-reporter - Zero config Mochawesome reporter for Cypress with screenshots and videos
puppeteer - Node.js API for Chrome
phaser-project-template - 🕹️ Phaser 3 - Starter Template with TypeScript and webpack.
knapsack-pro-cypress - Knapsack Pro for Cypress.io test runner in JavaScript. It splits tests in dynamic way across parallel CI nodes to get faster CI build time.
cypress-visual-regression - Module for adding visual regression testing to Cypress