From 55ba291d3aac3fb98820570ed9f26afaae5b22d7 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Fri, 24 Jan 2020 21:39:30 +0100 Subject: [PATCH 1/2] =?UTF-8?q?fix(e2e-cypress):=20make=20=E2=80=94headles?= =?UTF-8?q?s=20work=20with=20=E2=80=94browser=20chrome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix #5103 --- packages/@vue/cli-plugin-e2e-cypress/index.js | 1 - 1 file changed, 1 deletion(-) 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') From de8f09b8c204befbf392bcd7123bfc25fadc5a87 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Thu, 30 Jan 2020 20:37:13 +0100 Subject: [PATCH 2/2] fix: increase cypress minimum version to 3.8 this version onwards supports using --browser chrome --headless --- packages/@vue/cli-plugin-e2e-cypress/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": {