Skip to content

Playwright Tests

Playwright Tests #39

Workflow file for this run

name: Playwright Tests
on:
workflow_run:
workflows: ["Deploy Blazor WASM to GitHub Pages"]
types:
- completed
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- run: dotnet build ./tests/pax.BlatzorChartJs.pwtests/pax.BlatzorChartJs.pwtests.csproj
- name: Ensure browsers are installed
run: pwsh ./tests/pax.BlatzorChartJs.pwtests/bin/Debug/net8.0/playwright.ps1 install --with-deps
- name: Run your tests
run: dotnet test ./tests/pax.BlatzorChartJs.pwtests