Skip to content

Cypress-Tests

Cypress-Tests #33

Workflow file for this run

name: Cypress-Tests
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'
jobs:
test_schedule:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
container: cypress/browsers:node-18.16.0-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1
steps:
- name: checkout
uses: actions/checkout@v3
- name: Install Cypress
run: npm i cypress@13.6.0
- name: Run tests
run: |
npx cypress run --config projectId=$CYPRESS_PROJECT_ID --record --key $CYPRESS_RECORD_KEY --env baseUrl='https://fvweb-dev.eks.firstvoices.io',DIALECT='lilwat',CYPRESS_FV_USERNAME=${{secrets.CYPRESS_FV_USERNAME}},CYPRESS_FV_PASSWORD=${{secrets.CYPRESS_FV_PASSWORD}},CYPRESS_FV_INITIALS=${{secrets.CYPRESS_FV_INITIALS}} -s "cypress/e2e/core_suite_master.cy.js"
env:
baseUrl: 'https://fvweb-dev.eks.firstvoices.io'
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
CYPRESS_FV_USERNAME: ${{ secrets.CYPRESS_FV_USERNAME }}
CYPRESS_FV_PASSWORD: ${{ secrets.CYPRESS_FV_PASSWORD }}
CYPRESS_FV_INITIALS: ${{ secrets.CYPRESS_FV_INITIALS }}