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
This commit is contained in:
Thorsten Lünborg
2020-02-01 08:24:38 +01:00
committed by GitHub
parent 76c173693e
commit f7ad307059
2 changed files with 1 additions and 2 deletions
@@ -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')
@@ -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": {