From 5cfba88968b0d91fbe21f366980b5ca966e886ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20Sch=C3=BCrch?= Date: Wed, 20 Nov 2024 16:26:32 +0100 Subject: [PATCH] chore: switch to chrome for e2e tests, because of a memory issue with electron (#4033) --- packages/components/package.json | 4 ++-- packages/documentation/package.json | 4 ++-- packages/internet-header/package.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index 314c70d1cc..e15f643b12 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -31,8 +31,8 @@ "test": "pnpm run unit", "unit": "stencil test --spec", "unit:watch": "stencil test --spec --watchAll --silent", - "e2e": "cypress run", - "e2e:ci": "xvfb-run -a cypress run", + "e2e": "cypress run --browser chrome", + "e2e:ci": "xvfb-run -a cypress run --browser chrome", "e2e:watch": "cypress open", "generate": "stencil generate", "lint": "eslint src/**/*{.ts,.tsx}" diff --git a/packages/documentation/package.json b/packages/documentation/package.json index 9bcafda856..5eb85bb144 100644 --- a/packages/documentation/package.json +++ b/packages/documentation/package.json @@ -20,8 +20,8 @@ "start:headless": "pnpm clean && pnpm prebuild:managerui --style=expanded && storybook dev -p 9001 --quiet --no-open --docs", "build": "pnpm clean && pnpm prebuild:managerui --style=compressed --no-source-map & storybook build --quiet --docs", "clean": "rimraf storybook-static public/manager", - "e2e": "cypress run", - "e2e:ci": "xvfb-run -a cypress run", + "e2e": "cypress run --browser chrome", + "e2e:ci": "xvfb-run -a cypress run --browser chrome", "e2e:watch": "cypress open", "doctor": "storybook doctor", "snapshots": "percy exec -- cypress run --config-file ./cypress.snapshot.config.js --record --key 0995e768-43ec-42bd-a127-ff944a2ad8c9", diff --git a/packages/internet-header/package.json b/packages/internet-header/package.json index 4b6958deca..a25de8298c 100644 --- a/packages/internet-header/package.json +++ b/packages/internet-header/package.json @@ -35,8 +35,8 @@ "test": "pnpm run unit", "unit": "jest", "unit:watch": "jest --watch", - "e2e": "cypress run", - "e2e:ci": "xvfb-run -a cypress run", + "e2e": "cypress run --browser chrome", + "e2e:ci": "xvfb-run -a cypress run --browser chrome", "e2e:watch": "cypress open", "lint": "eslint src/**/*{.ts,.tsx}", "lint:fix": "eslint src/**/*{.ts,.tsx} --fix",