python -m SimpleHTTPServer 8080
yarn && yarn run cypress open
- In Cypress app, run
test-regression.spec.js
- Change
index.html
to eg:
<div style="width:200px; height:200px; background-color: green; font-size:40px">
oh hi
</div>
- Re-run test
A snapshot should be taken with the changes, compared to the first one
Only a single snapshot is taken, from the previous content (red box, HELLO THERE text)