From bc88050a6c525e65d8b0e2d1adacf5d823df9137 Mon Sep 17 00:00:00 2001 From: Diego Pascual Date: Mon, 20 Nov 2023 16:58:30 +0100 Subject: [PATCH] fix: use `cypress run` for headless testing (#1357) --- packages/x-components/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/x-components/package.json b/packages/x-components/package.json index b42c95ed15..9be5e2581c 100644 --- a/packages/x-components/package.json +++ b/packages/x-components/package.json @@ -59,9 +59,9 @@ "test:unit-watch": "jest --watch", "test:e2e": "start-server-and-test preview http://localhost:8080 cypress:open", "test:e2e:firefox": "start-server-and-test serve http://localhost:8080 cypress:open:firefox", - "test:e2e:ci": "start-server-and-test serve http://localhost:8080 cypress:open:ci", + "test:e2e:ci": "start-server-and-test serve http://localhost:8080 cypress:run:ci", "test": "pnpm run test:unit && pnpm run test:e2e:ci", - "cypress:open:ci": "cypress open --e2e --headless --browser chrome", + "cypress:run:ci": "cypress run --e2e --headless --browser chrome", "cypress:open": "cypress open --e2e --browser chrome", "cypress:open:firefox": "cypress open --e2e --browser firefox", "cypress:open:component": "cypress open --component --browser chrome",