From 34a59df9ab6562d2485e6435444e0b4112a54637 Mon Sep 17 00:00:00 2001 From: hunterlong Date: Sat, 11 Apr 2020 15:48:37 -0700 Subject: [PATCH] cypress tests --- frontend/cypress.json | 1 - frontend/package.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/cypress.json b/frontend/cypress.json index 2cd56f1f..91a32509 100644 --- a/frontend/cypress.json +++ b/frontend/cypress.json @@ -8,7 +8,6 @@ "DB_PASS": "password123", "GO_ENV": "production" }, - "baseUrl": "http://localhost:8888", "chromeWebSecurity": false, "defaultCommandTimeout": 15000, "requestTimeout": 15000, diff --git a/frontend/package.json b/frontend/package.json index 76b72ab7..d2cf53a4 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -9,8 +9,8 @@ "lint": "vue-cli-service lint", "backend-test": "newman run -e ../dev/postman_environment.json --delay-request 500 ../dev/postman.json", "cypress:open": "cypress open", - "cypress:test": "cypress run --record --key 49d99e5e-04c6-46df-beef-54b68e152a4d", - "test": "start-server-and-test start http://0.0.0.0:8888/api cypress:test", + "cypress:test": "cypress run --record --key $CYPRESS_KEY", + "test": "start-server-and-test start http://localhost:8888/api cypress:test", "start": "statping -port 8888 > /dev/null 2>&1" }, "dependencies": {