Skip to content

Main PR

Main PR #63

Workflow file for this run

name: E2E_Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
e2e-tests:
name: E2E-Testing
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
- name: Install Dependencies
run: npm install
- name: Setup Cypress
run: npm install cypress --save-dev
- name: Run Cypress test
env:
CYPRESS_WEB_DOMAIN: ${{ secrets.WEB_DOMAIN }}
CYPRESS_WEB_DOMAIN_USERNAME: ${{ secrets.WEB_DOMAIN_USERNAME }}
CYPRESS_WEB_DOMAIN_PASSWORD: ${{ secrets.WEB_DOMAIN_PASSWORD }}
CYPRESS_IDENTITY_POOL_ID: ${{ secrets.IDENTITY_POOL_ID }}
CYPRESS_USER_DOMAIN: ${{ secrets.USER_DOMAIN }}
CYPRESS_USER_POOL_CLIENT_ID: ${{ secrets.USER_POOL_CLIENT_ID }}
CYPRESS_USER_POOL_ID: ${{ secrets.USER_POOL_ID }}
CYPRESS_WEB_SOCKET_URL: ${{ secrets.WEB_SOCKET_URL }}
CYPRESS_COGNITO_EMAIL: ${{ secrets.COGNITO_EMAIL }}
CYPRESS_COGNITO_PASSWORD: ${{ secrets.COGNITO_PASSWORD }}
run: npm run cypress