aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-15 00:25:31 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-15 00:25:33 +0800
commitb5a445139d378a21397cfa84919f6f034b8a8974 (patch)
tree82c5c4ee9075a2eb1008bb58a5b6d12e9f8eb43b
parent6bd1b21d3b8f74c44214f814c3fe1c8770ab9e2d (diff)
downloadtangerine-wallet-browser-b5a445139d378a21397cfa84919f6f034b8a8974.tar
tangerine-wallet-browser-b5a445139d378a21397cfa84919f6f034b8a8974.tar.gz
tangerine-wallet-browser-b5a445139d378a21397cfa84919f6f034b8a8974.tar.bz2
tangerine-wallet-browser-b5a445139d378a21397cfa84919f6f034b8a8974.tar.lz
tangerine-wallet-browser-b5a445139d378a21397cfa84919f6f034b8a8974.tar.xz
tangerine-wallet-browser-b5a445139d378a21397cfa84919f6f034b8a8974.tar.zst
tangerine-wallet-browser-b5a445139d378a21397cfa84919f6f034b8a8974.zip
Bail after the first e2e test failure
Where the tests are sequential, every test after the first failure is bound for failure as well so we can bail after the first.
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index d666dbb87..f6338c542 100644
--- a/package.json
+++ b/package.json
@@ -15,8 +15,8 @@
"test:integration:build": "gulp build:scss",
"test:e2e:chrome": "shell-parallel -s 'npm run ganache:start' -x 'sleep 3 && npm run test:e2e:run:chrome'",
"test:e2e:firefox": "shell-parallel -s 'npm run ganache:start' -x 'sleep 3 && npm run test:e2e:run:firefox'",
- "test:e2e:run:chrome": "SELENIUM_BROWSER=chrome mocha test/e2e/chrome/metamask.spec --recursive",
- "test:e2e:run:firefox": "SELENIUM_BROWSER=firefox mocha test/e2e/firefox/metamask.spec --recursive",
+ "test:e2e:run:chrome": "SELENIUM_BROWSER=chrome mocha test/e2e/chrome/metamask.spec --bail --recursive",
+ "test:e2e:run:firefox": "SELENIUM_BROWSER=firefox mocha test/e2e/firefox/metamask.spec --bail --recursive",
"test:screens": "shell-parallel -s 'npm run ganache:start' -x 'sleep 3 && npm run test:screens:run'",
"test:screens:run": "node test/screens/new-ui.js",
"test:coverage": "nyc npm run test:unit && npm run test:coveralls-upload",