Use this boilerplate if you need quick start with Cypress tests and visual regression fully integrated with it.
- Cypress v12.3.0
- Node v18.12.1
- Typescript
- Cypress visual regression v1.7.0
- Git
git clone https://github.com/wmiklasewicz/cypress-visual-regression-boilerplate.git
cd cypress-visual-regression-boilerplate
npm i
-
Executing e2e tests from commandline
cypress run --browser chrome --spec **/e2e/**
-
Executing visual regression tests from commandline
cypress run --browser chrome --spec **/visual-regression/**
-
Executing tests from cypress UI
cypress open
and pickup project/tests from the opened UI
Reports generated from visual regression tests are located under cypress-visual-report
folder
Wioletta Mikłasewicz