From 5600b5fb1cc04edc22b92e0e6d92ca45387507b5 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Thu, 2 Feb 2023 14:11:30 +0100 Subject: [PATCH] Run the Cypress component tests on CI (#4307) --- .github/workflows/main.yml | 4 +++- apps/admin-ui/package.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 739806bf43..62b7480526 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,9 @@ jobs: command: build - workspace: admin-ui command: cy:check-types - # Account UI + - workspace: admin-ui + command: cy:run-component + # Account UI - workspace: account-ui command: lint - workspace: account-ui diff --git a/apps/admin-ui/package.json b/apps/admin-ui/package.json index 841f98cdeb..71c544e3df 100644 --- a/apps/admin-ui/package.json +++ b/apps/admin-ui/package.json @@ -8,6 +8,7 @@ "test": "wireit", "cy:open": "cypress open --e2e --browser chrome", "cy:run": "cypress run --browser chrome", + "cy:run-component": "cypress run --browser chrome --component", "cy:check-types": "wireit", "cy:ldap-server": "ldap-server-mock --conf=./cypress/fixtures/ldap/server.json --database=./cypress/fixtures/ldap/users.json" },