example: visual-testing-with-happo Happo Dashboard
Visual component testing using Happo.io
- 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 testHere'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:



