From f7ad3070592d5ebd3f30a2bf7259a67116058b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20L=C3=BCnborg?= Date: Sat, 1 Feb 2020 08:24:38 +0100 Subject: [PATCH] fix(e2e-cypress): make --headless work with --browser chrome (#5108) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- packages/@vue/cli-plugin-e2e-cypress/index.js | 1 - packages/@vue/cli-plugin-e2e-cypress/package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/@vue/cli-plugin-e2e-cypress/index.js b/packages/@vue/cli-plugin-e2e-cypress/index.js index 5553ef6552..f567262a36 100644 --- a/packages/@vue/cli-plugin-e2e-cypress/index.js +++ b/packages/@vue/cli-plugin-e2e-cypress/index.js @@ -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') diff --git a/packages/@vue/cli-plugin-e2e-cypress/package.json b/packages/@vue/cli-plugin-e2e-cypress/package.json index 1948070ed7..451923cecf 100644 --- a/packages/@vue/cli-plugin-e2e-cypress/package.json +++ b/packages/@vue/cli-plugin-e2e-cypress/package.json @@ -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": {