Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1010 Bytes

File metadata and controls

19 lines (10 loc) · 1010 Bytes

example: visual testing using Applitools

Shows how to use Applitools to visually check React charts made with Victory library.

Screenshot

See src/Chart.spec.js

Note: run npm install in this folder to symlink cypress-react-unit-test dependency.

The cy.eyes* commands are ignored during local interactive run. On CI, the cy.eyes* send the snapshots to Applitools servers to be analyzed and compared against the baseline images.

Test result

For more information, see Applitools tutorial.

If there is a difference in visual output, Applitools catches it and fails the test run. The Applitools Dashboard then allows you to review the changes, determine the root cause for the change, and maybe approve the visual changes to update the baseline images.

Applitools difference view