Compare v2 WIP to production #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/" |