Gathering detailed insights and metrics for @vue/cli-plugin-e2e-cypress
Gathering detailed insights and metrics for @vue/cli-plugin-e2e-cypress
Gathering detailed insights and metrics for @vue/cli-plugin-e2e-cypress
Gathering detailed insights and metrics for @vue/cli-plugin-e2e-cypress
🛠️ webpack-based tooling for Vue.js Development
npm install @vue/cli-plugin-e2e-cypress
Typescript
Module System
Node Version
NPM Version
58
Supply Chain
51.4
Quality
71.8
Maintenance
50
Vulnerability
91.9
License
JavaScript (75.05%)
Vue (22.89%)
TypeScript (0.87%)
Stylus (0.47%)
HTML (0.27%)
Shell (0.26%)
AppleScript (0.18%)
Total Downloads
25,650,514
Last Day
3,216
Last Week
58,274
Last Month
261,350
Last Year
2,826,578
MIT License
29,717 Stars
3,533 Commits
6,316 Forks
628 Watchers
22 Branches
521 Contributors
Updated on Jul 29, 2025
Latest Version
5.0.8
Package Id
@vue/cli-plugin-e2e-cypress@5.0.8
Unpacked Size
12.51 kB
Size
5.84 kB
File Count
14
NPM Version
lerna/4.0.0/node@v16.15.0+arm64 (darwin)
Node Version
16.15.0
Cumulative downloads
Total Downloads
Last Day
43.2%
3,216
Compared to previous day
Last Week
4.7%
58,274
Compared to previous week
Last Month
-1.1%
261,350
Compared to previous month
Last Year
-29.3%
2,826,578
Compared to previous year
2
2
1
e2e-cypress plugin for vue-cli
This adds E2E testing support using Cypress.
Cypress offers a rich interactive interface for running E2E tests in Firefox and Chromium based browsers (Chrome, MS Edge, Brave, Electron). To learn more about cross browser testing, visit the Cypress Cross Browser Testing Guide.
Note: If you have a hard requirement on E2E testing in IE or Safari, consider using the Selenium-based @vue/cli-plugin-e2e-nightwatch.
vue-cli-service test:e2e
Run e2e tests with cypress run
.
By default it launches Cypress in interactive mode with a GUI (via cypress open
). If you want to run the tests in headless mode (e.g. for CI), you can do so with the --headless
option.
The command automatically starts a server in production mode to run the e2e tests against. If you want to run the tests multiple times without having to restart the server every time, you can start the server with vue-cli-service serve --mode production
in one terminal, and then run e2e tests against that server using the --url
option.
Options:
--headless run in headless mode without GUI
--mode specify the mode the dev server should run in. (default: production)
--url run e2e tests against given url instead of auto-starting dev server
-s, --spec (headless only) runs a specific spec file. defaults to "all"
Additionally:
cypress open
are also supported;--headless
mode, all Cypress CLI options for cypress run
are also supported.Examples :
vue-cli-service test:e2e --headless --spec tests/e2e/specs/actions.spec.js
We've pre-configured Cypress to place most of the e2e testing related files under <projectRoot>/tests/e2e
. You can also check out how to configure Cypress via cypress.json
.
Cypress doesn't load .env files for your test files the same way as vue-cli
does for your application code. Cypress supports a few ways to define env variables but the easiest one is to use .json files (either cypress.json
or cypress.env.json
) to define environment variables. Keep in mind those variables are accessible via Cypress.env
function instead of regular process.env
object.
1vue add e2e-cypress
No vulnerabilities found.