Skip to content

Commit f7ad307

Browse files
authored
fix(e2e-cypress): make --headless work with --browser chrome (#5108)
* fix(e2e-cypress): make —headless work with —browser chrome fix #5103 * fix: increase cypress minimum version to 3.8 this version onwards supports using --browser chrome --headless
1 parent 76c1736 commit f7ad307

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/@vue/cli-plugin-e2e-cypress/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ module.exports = (api, options) => {
1414
`All Cypress CLI options are also supported:\n` +
1515
chalk.yellow(`https://docs.cypress.io/guides/guides/command-line.html#cypress-run`)
1616
}, async (args, rawArgs) => {
17-
removeArg(rawArgs, 'headless', 0)
1817
removeArg(rawArgs, 'mode')
1918
removeArg(rawArgs, 'url')
2019
removeArg(rawArgs, 'config')

packages/@vue/cli-plugin-e2e-cypress/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"dependencies": {
2626
"@vue/cli-shared-utils": "^4.1.2",
27-
"cypress": "^3.3.1",
27+
"cypress": "^3.8.0",
2828
"eslint-plugin-cypress": "^2.7.0"
2929
},
3030
"peerDependencies": {

0 commit comments

Comments
 (0)