From 4756a6a26d3fadcaff95d2a89dc8d9a52a653657 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Thu, 10 Dec 2020 14:16:42 -0800 Subject: [PATCH] Default Cypress to use Electron --- webapp/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/package.json b/webapp/package.json index e8adc6d87..cfe5a88f4 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -12,8 +12,9 @@ "fix": "eslint --ext .tsx,.ts . --quiet --fix --cache", "i18n-extract": "formatjs extract src/**/*.tsx src/**/*.ts --out-file i18n/tmp.json; formatjs compile i18n/tmp.json --out-file i18n/en.json; rm i18n/tmp.json", "runserver-test": "cd cypress && ../../bin/octoserver", - "cypress:run": "cypress run --browser chrome", "cypress:ci": "start-server-and-test runserver-test http://localhost:8088 cypress:run", + "cypress:run": "cypress run", + "cypress:run:chrome": "cypress run --browser chrome", "cypress:run:firefox": "cypress run --browser firefox", "cypress:run:edge": "cypress run --browser edge", "cypress:run:electron": "cypress run --browser electron",