Run the Cypress component tests on CI (#4307)

This commit is contained in:
Jon Koops 2023-02-02 14:11:30 +01:00 committed by GitHub
parent db06a0efd8
commit 5600b5fb1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -26,7 +26,9 @@ jobs:
command: build command: build
- workspace: admin-ui - workspace: admin-ui
command: cy:check-types command: cy:check-types
# Account UI - workspace: admin-ui
command: cy:run-component
# Account UI
- workspace: account-ui - workspace: account-ui
command: lint command: lint
- workspace: account-ui - workspace: account-ui

View file

@ -8,6 +8,7 @@
"test": "wireit", "test": "wireit",
"cy:open": "cypress open --e2e --browser chrome", "cy:open": "cypress open --e2e --browser chrome",
"cy:run": "cypress run --browser chrome", "cy:run": "cypress run --browser chrome",
"cy:run-component": "cypress run --browser chrome --component",
"cy:check-types": "wireit", "cy:check-types": "wireit",
"cy:ldap-server": "ldap-server-mock --conf=./cypress/fixtures/ldap/server.json --database=./cypress/fixtures/ldap/users.json" "cy:ldap-server": "ldap-server-mock --conf=./cypress/fixtures/ldap/server.json --database=./cypress/fixtures/ldap/users.json"
}, },