Skip to content

Commit

Permalink
fix(e2e-cypress): make --headless work with --browser chrome (vuejs#5108
Browse files Browse the repository at this point in the history
)

* fix(e2e-cypress): make —headless work with —browser chrome

fix vuejs#5103

* fix: increase cypress minimum version to 3.8

this version onwards supports using --browser chrome --headless
  • Loading branch information
LinusBorg authored and mactanxin committed Feb 11, 2020
1 parent 136add4 commit 884a0ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/@vue/cli-plugin-e2e-cypress/index.js
Expand Up @@ -14,7 +14,6 @@ module.exports = (api, options) => {
`All Cypress CLI options are also supported:\n` +
chalk.yellow(`https://docs.cypress.io/guides/guides/command-line.html#cypress-run`)
}, async (args, rawArgs) => {
removeArg(rawArgs, 'headless', 0)
removeArg(rawArgs, 'mode')
removeArg(rawArgs, 'url')
removeArg(rawArgs, 'config')
Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/cli-plugin-e2e-cypress/package.json
Expand Up @@ -24,7 +24,7 @@
},
"dependencies": {
"@vue/cli-shared-utils": "^4.1.2",
"cypress": "^3.3.1",
"cypress": "^3.8.0",
"eslint-plugin-cypress": "^2.7.0"
},
"peerDependencies": {
Expand Down

0 comments on commit 884a0ee

Please sign in to comment.