Skip to content

🔧 overlapping modal #3911

🔧 overlapping modal

🔧 overlapping modal #3911

Workflow file for this run

name: cypress
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
env:
CYPRESS_CACHE_FOLDER: '${GITHUB_WORKSPACE}/.cypress-cache'
jobs:
prepare_e2e:
runs-on: ubuntu-latest
container:
image: cypress/included:10.10.0
options: --user 1001
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
uses: ./.github/actions/pnpm-install
- name: Install Cypress
run: pnpm cypress install
- name: Build App
run: pnpm generate
- name: Build App Results
uses: actions/upload-artifact@v3
with:
name: generated-dist
path: |
dist
tests
retention-days: 1
e2e:
runs-on: ubuntu-latest
needs: prepare_e2e
container:
image: cypress/included:10.10.0
options: --user 1001
strategy:
matrix:
index: [1, 2, 3, 4, 5] # [1, ..., n] where n === parallelSize in e2e-run-tests.js
steps:
- uses: actions/checkout@v3
- name: Use Generated App
uses: actions/download-artifact@v3
with:
name: generated-dist
- name: Install Dependencies
uses: ./.github/actions/pnpm-install
- name: Install Cypress
run: pnpm cypress install
- name: Run Cypress
timeout-minutes: 10
uses: Wandalen/wretry.action@v1.0.41
with:
command: pnpm start:static & pnpm wait-on http://localhost:9090 && MATRIX=${{ matrix.index }} node tests/cypress/e2e-run-tests.js
attempt_limit: 3
- name: Upload Screenshots
uses: actions/upload-artifact@v3
if: failure()
with:
path: ./cypress/screenshots/