mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-08 08:10:02 -06:00
Co-authored-by: Дмитрий Коваленко <dmitrijkovalenko@Dmitrijs-MacBook-Pro.local> Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
example: visual-testing-with-happo Happo Dashboard
Visual component testing using Happo.io
Usage
- Make sure the root project has been built .
# in the root of the project
npm install
npm run build
- Run
npm installin this folder to symlink the@cypress/reactdependency.
# in this folder
npm install
- Start Cypress
npm run cy:open
# or just run headless tests
npm test
Notes
Here's an example PR with code a change where we forgot to update the styles with additional classes: #210
Notice that CircleCI passes the test, because functionally it worked, but the Happo CI check shows a failure:
Happo report shows 3 views:



