From 13182d258165a2e082312458984fd3700cc37c32 Mon Sep 17 00:00:00 2001 From: pubkey Date: Fri, 15 Dec 2017 20:52:15 +0100 Subject: [PATCH] PIN testcafe-version to ensure e2e works --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a8dd825..2d99363 100644 --- a/package.json +++ b/package.json @@ -17,10 +17,11 @@ "pdf": "node scripts/export.js", "preview": "node scripts/preview.js", "test:deleteFiles": "node test/scripts/deleteFiles.js", - "test:e2e": "concurrently \"npm run dev\" \"testcafe chromium test/\" --success first --kill-others --raw", + "test:cafe": "testcafe chromium test/", + "test:e2e": "concurrently \"npm run dev\" \"npm run test:cafe\" --success first --kill-others --raw", "test:export": "SCRIPT=export npm run test:deleteFiles && npm run export && mocha test/scripts/export.js", "test:preview": "SCRIPT=preview npm run test:deleteFiles && npm run export && npm run preview && mocha test/scripts/preview.js", - "test:docs": "npm run docs && concurrently \"npm run docs:serve\" \"testcafe chromium test/\" --success first --kill-others --raw", + "test:docs": "npm run docs && concurrently \"npm run docs:serve\" \"npm run test:cafe\" --success first --kill-others --raw", "test": "npm run test:export && npm run test:preview && npm run test:docs && npm run test:e2e", "export": "concurrently \"npm run dev\" \"npm run pdf\" --success first --kill-others --raw", "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs" @@ -94,7 +95,8 @@ "rxjs": "5.5.5", "semver": "5.4.1", "shelljs": "0.7.8", - "testcafe": "0.18.1", + "testcafe": "0.17.1", + "testcafe-hammerhead": "11.2.1", "url-exists": "1.0.3", "url-loader": "0.6.2", "vue-loader": "13.5.1",