Migrate Playwright suite to .NET UI tests and deprecate TS project

This commit is contained in:
Joseph Doherty
2026-02-06 18:44:40 -05:00
parent 4e56ea3435
commit 562f7e9e37
105 changed files with 1119 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# 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
```bash
cd /Users/dohertj2/Desktop/JdeScopingTool/NEW/tests/JdeScoping.Ui.Tests
dotnet build
pwsh bin/Debug/net10.0/playwright.ps1 install chromium
```
## Run tests
```bash
cd /Users/dohertj2/Desktop/JdeScopingTool/NEW
dotnet test tests/JdeScoping.Ui.Tests/JdeScoping.Ui.Tests.csproj --filter "Category=RequiresDockerHost"
```
Run headed mode:
```bash
JDESCOPING_UI_HEADED=true dotnet test tests/JdeScoping.Ui.Tests/JdeScoping.Ui.Tests.csproj
```