Skip to content

Commit

Permalink
WIP: ci: run Playwright-based UI tests
Browse files Browse the repository at this point in the history
The UI tests are most beneficial when they are run regularly ;-)

To this end, let's run them on every PR, and let's allow running it
manually with the deployed website.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Sep 10, 2024
1 parent 0fe0191 commit b43a124
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Playwright Tests
on:
pull_request:
workflow_dispatch:
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/

0 comments on commit b43a124

Please sign in to comment.