Shows how to use Applitools to visually check React charts made with Victory library.
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.
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.