Skip to content

Attempting to fix Cypress test to cover new step in the user flow #191

Attempting to fix Cypress test to cover new step in the user flow

Attempting to fix Cypress test to cover new step in the user flow #191

Workflow file for this run

name: Run Cypress Component Tests
on: [workflow_dispatch, push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cypress run
uses: cypress-io/github-action@v3
with:
project: ./
browser: chrome
build: yarn build
start: yarn start
wait-on: "http://localhost:3000"
component: true
env:
SITECORE_CH1_ENDPOINT_URL: ${{ secrets.SITECORE_CH1_ENDPOINT_URL }}
SITECORE_CH1_CLIENT_KEY: ${{ secrets.SITECORE_CH1_CLIENT_KEY }}
NEXT_PUBLIC_EMAIL_FORM_ENDPOINT: ${{ secrets.NEXT_PUBLIC_EMAIL_FORM_ENDPOINT }}
AZURE_TABLE_NAME: 'Urls'
AZURE_TABLE_CONNECTION_STRING: ${{ secrets.AZURE_TABLE_CONNECTION_STRING }}