1.0.10 • Published 2 years ago
vite-e2e-cypress v1.0.10
vite-e2e-cypress
Run cypress e2e tests within your Vite project.
Install
npm install vite-e2e-cypress --save-dev
Usage
Run all spec files
vite-cy-e2e
View all options
vite-cy-e2e --help
Running particular spec files
vite-cy-e2e --headless -s '**/*.spec.js'
Specify vite config file path. This example is also the default value.
vite-cy-e2e -c ./vite.config.ts
Specify vite root path. This example is also the default value.
vite-cy-e2e -r .
Run in different mode (default to production)
vite-cy-e2e -m development
Run dev server instead of build the app and run preview server. Might be helpful for local development to reflect code change immediately without restarting cypress.
vite-cy-e2e -d