Skip to content

Cypress Tests

Cypress Tests #105

Workflow file for this run

name: Cypress Tests
on:
schedule:
- cron: '30 7 * * *'
workflow_dispatch:
jobs:
cypress-run:
runs-on: ubuntu-22.04
container:
image: cypress/included:latest
options: --user 1001
steps:
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.18
- name: Checkout
uses: actions/checkout@v4
- name: Cypress run
uses: cypress-io/github-action@v6
with:
config-file: cypress/cypress.config.ts
record: true
config: video=true,retries=2
env:
TZ: Europe/Brussels
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
CYPRESS_BASE_URL: ${{ vars.CYPRESS_BASE_URL }}
CYPRESS_OIDC_ORIGIN: ${{ vars.CYPRESS_OIDC_ORIGIN }}
CYPRESS_SPACE_ADMIN_USER_NAME: ${{ secrets.CYPRESS_SPACE_ADMIN_USER_NAME }}
CYPRESS_SPACE_ADMIN_USER_PASSWORD: ${{ secrets.CYPRESS_SPACE_ADMIN_USER_PASSWORD }}
CYPRESS_SUPER_ADMIN_USER_NAME: ${{ secrets.CYPRESS_SUPER_ADMIN_USER_NAME }}
CYPRESS_SUPER_ADMIN_USER_PASSWORD: ${{ secrets.CYPRESS_SUPER_ADMIN_USER_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}