Skip to content

bluexlab/vite-e2e-cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Run cypress e2e tests within your Vite project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published