Component tests for projects using existing webpack.config.js file
- Make sure the root project has been built .
# in the root of the project
npm install
npm run build- Run
npm installin this folder to symlink the@cypress/reactdependency.
# in this folder
npm install- Start Cypress
npm run cy:open
# or just run headless tests
npm testSee tests in the cypress/component folder.