From e4377760083527237287e9f3e8c5cd0f2e6b9c29 Mon Sep 17 00:00:00 2001 From: HauklandJ Date: Wed, 4 Dec 2024 12:16:39 +0100 Subject: [PATCH] add shortcuts for cypress on docker --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index c9d655822..b2126be75 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,11 @@ "test:preview": "jest-preview", "test:clear-cache": "jest --clearCache", "cy:open": "cypress open --env environment=tt02", + "cy:open:docker": "cypress open --env environment=docker", "cy:run": "cypress run --env environment=tt02", + "cy:run:docker": "cypress open --env environment=docker", "cy:parallel": "cypress-parallel -s cy:run -t 3 -d test/e2e/integration", + "cy:parallel:docker": "cypress-parallel -s cy:run:docker -t 3 -d test/e2e/integration", "tsc": "yarn gen && tsc && tsc --project test/tsconfig.json", "tsc:watch": "yarn gen && tsc --watch", "tsc:watch:cypress": "yarn gen && tsc --watch --project test/tsconfig.json",