Skip to content

Playwright project tests #71

Playwright project tests

Playwright project tests #71

name: Playwright project tests
on:
workflow_dispatch:
inputs:
runner:
description: "Select the runner"
required: false
type: choice
options:
- ubuntu-latest
- windows-latest
default: ubunntu-latest
pull_request:
jobs:
PlaywrightProjectTests:
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core SDK '8.0.x'
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Run Blazor app
run: |
cd ./src/BlazorApp
dotnet run &
- name: Test Blazor app
run: |
cd ./Behavioral.Automation.Playwright/UITests
dotnet test