Skip to content

Commit

Permalink
add playwright tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MattFerraro committed Mar 25, 2024
1 parent b435ecb commit 676076f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: e2e Tests

on:
deployment_status:
jobs:
run-e2es:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm ci && npx playwright install --with-deps
- name: Run tests
run: npx playwright test
env:
BASE_URL: ${{ github.event.deployment_status.environment_url }}

0 comments on commit 676076f

Please sign in to comment.