Skip to content

Commit

Permalink
test(e2e): AVR-549 update E2E test GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrzyzanowski committed Nov 15, 2024
1 parent c476f26 commit 0a19830
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: E2E Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
inputs:
env:
description: "Environment to run tests against"
required: true
default: "live"
jobs:
test:
timeout-minutes: 60
Expand All @@ -20,7 +21,7 @@ jobs:
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
run: npm run e2e:${{ github.event.inputs.env }}
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
Expand Down

0 comments on commit 0a19830

Please sign in to comment.