Skip to content

Commit 2903fd2

Browse files
mornirhaoqunjiang
authored andcommitted
docs: add an example with the spec option (#3179) [ci skip]
1 parent 3111e30 commit 2903fd2

File tree

1 file changed

+3
-0
lines changed
  • packages/@vue/cli-plugin-e2e-cypress

1 file changed

+3
-0
lines changed

packages/@vue/cli-plugin-e2e-cypress/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Cypress offers a rich interactive interface for running E2E tests, but currently
2929

3030
- In GUI mode, [all Cypress CLI options for `cypress open` are also supported](https://docs.cypress.io/guides/guides/command-line.html#cypress-open);
3131
- In `--headless` mode, [all Cypress CLI options for `cypress run` are also supported](https://docs.cypress.io/guides/guides/command-line.html#cypress-run).
32+
33+
Examples :
34+
- Run Cypress in headless mode for a specific file: `vue-cli-service test:e2e --headless --spec tests/e2e/specs/actions.spec.js`
3235

3336
## Configuration
3437

0 commit comments

Comments
 (0)