Files

796 B

JdeScoping.Ui.Tests

Playwright-for-.NET UI tests migrated from the legacy TypeScript Playwright suite.

Preconditions

  • Docker host container is already running via /Users/dohertj2/Desktop/JdeScopingTool/NEW/deploy/docker/deploy-host.sh
  • App reachable at http://localhost:5294 (or set JDESCOPING_UI_BASE_URL)

First-time setup

cd /Users/dohertj2/Desktop/JdeScopingTool/NEW/tests/JdeScoping.Ui.Tests
dotnet build
pwsh bin/Debug/net10.0/playwright.ps1 install chromium

Run tests

cd /Users/dohertj2/Desktop/JdeScopingTool/NEW
dotnet test tests/JdeScoping.Ui.Tests/JdeScoping.Ui.Tests.csproj --filter "Category=RequiresDockerHost"

Run headed mode:

JDESCOPING_UI_HEADED=true dotnet test tests/JdeScoping.Ui.Tests/JdeScoping.Ui.Tests.csproj