Skip to content

Compare v2 WIP to production #52

Compare v2 WIP to production

Compare v2 WIP to production #52

# This workflow runs against a PR that is set to merge to the main
# branch and assumes the staging environment contains these changes
name: Run End-to-End Tests in Staging
on:
workflow_dispatch:
pull_request:
branches: [ main ]
jobs:
run-tests:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Run end-to-end tests
env:
SITE_URL: ${{ secrets.STAGING_URL }}
TESTCAFE_ROLE_GITHUB_EMAIL: ${{ secrets.TESTCAFE_ROLE_GITHUB_EMAIL }}
TESTCAFE_ROLE_GITHUB_PASSWORD: ${{ secrets.TESTCAFE_ROLE_GITHUB_PASSWORD }}
uses: DevExpress/testcafe-action@latest
with:
args: "chrome src/tests/e2e/"