example-percyscript
Example app showing the easiest way to get started with visual testing and Percy.
See the PercyScript documentation for more info.
This app uses the demo TodoMVC app and takes snapshots of it while interacting with the todos.
To install dependencies, compile and run the Todo app:
$ npx percy exec -- node snapshots.js
See snapshots.js
file for the example script.
export PERCY_API=http://localhost:9090/api/v1 export PERCY_TOKEN=c69ed10cd0eb4669dd41f7cf06e29a95f2549d8f1c800737496807ffc002370e