Skip to content

fix:#656 - fixed git cy test timeout #594

fix:#656 - fixed git cy test timeout

fix:#656 - fixed git cy test timeout #594

Workflow file for this run

name: Cypress End-to-End Tests
on:
pull_request:
branches: ['*']
workflow_dispatch:
jobs:
cypress:
runs-on: ubuntu-latest
steps:
- name: πŸ›« Checkout
uses: actions/checkout@v3
- name: πŸ— Set up NodeJS 18.14.0
uses: actions/setup-node@v3
with:
node-version: 18.14.0
cache: 'npm'
- name: πŸ“¦ Install Dependencies
run: npm install
- name: πŸ’» Run Cypress
uses: cypress-io/github-action@v5
with:
start: npm run cy:test
wait-on: http://localhost:9200/
wait-on-timeout: 40000
browser: chrome
headed: true
record: true
parallel: true
env:
# For recording and parallelization to work you must set your CYPRESS_RECORD_KEY
# in GitHub repo β†’ Settings β†’ Secrets β†’ Actions

Check failure on line 36 in .github/workflows/cypress.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cypress.yml

Invalid workflow file

You have an error in your yaml syntax on line 36
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to detect new build vs re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Codecov
uses: codecov/codecov-action@v4.6.0
with:
flags: E2E