From 5454cfeb6ec27055b278fd270a78d091a78d8f9d Mon Sep 17 00:00:00 2001 From: Matthew Oliveira Date: Fri, 25 Oct 2024 17:15:47 -0400 Subject: [PATCH] fix: attempt a fix for e2e tests --- .github/workflows/e2e-tests-parallel.yml | 2 +- packages/web-components/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-tests-parallel.yml b/.github/workflows/e2e-tests-parallel.yml index 567db546a34..8b3bb383521 100644 --- a/.github/workflows/e2e-tests-parallel.yml +++ b/.github/workflows/e2e-tests-parallel.yml @@ -111,7 +111,7 @@ jobs: id: cypress-tests-wc continue-on-error: true working-directory: packages/web-components - run: yarn test:e2e-storybook:test:parallel + run: yarn cypress:verify && yarn test:e2e-storybook:test:parallel env: CI_BUILD_ID: '${{ github.sha }}-${{ github.workflow }}-wc' CYPRESS_API_URL: "https://sorry-cypress-director.qfl95m0zv01.us-east.codeengine.appdomain.cloud" diff --git a/packages/web-components/package.json b/packages/web-components/package.json index 9bcf35a6a53..ce01f75bcc0 100644 --- a/packages/web-components/package.json +++ b/packages/web-components/package.json @@ -88,7 +88,8 @@ "typecheck": "tsc --noEmit -p tsconfig.json", "upgrade-carbon": "yarn upgrade-interactive @carbon/web-components @carbon/icon-helpers @carbon/icons --latest --exact", "visual-snapshot": "yarn percy storybook:start ./storybook-static", - "wca": "web-component-analyzer analyze src --outFile custom-elements.json" + "wca": "web-component-analyzer analyze src --outFile custom-elements.json", + "cypress:verify": "cypress verify" }, "dependencies": { "@carbon/ibmdotcom-services": "2.14.0-rc.2",