Skip to content

fix: mocked cypress GHA #2

fix: mocked cypress GHA

fix: mocked cypress GHA #2

Workflow file for this run

name: manage-frontend cypress (E2E)
on:
push:
branches-ignore:
- 'dependabot/**'
workflow_dispatch:
jobs:
cypress:
name: Manage-frontend Cypress (E2E)
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.MANAGE_FRONTEND_IAM_ROLE }}
aws-region: eu-west-1
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
cache: yarn
- name: Cypress run
uses: cypress-io/github-action@v6
env:
IDAPI_CLIENT_ACCESS_TOKEN: ${{ secrets.IDAPI_CLIENT_ACCESS_TOKEN }}
with:
start: yarn cypress:e2e:server
wait-on: 'http://localhost:9234, http://localhost:9233'
wait-on-timeout: 30
quiet: true
browser: chrome
spec: cypress/tests/e2e/*.cy.ts