Stub Gen Selenium Tests

This commit is contained in:
6d486f49
2026-05-19 13:36:29 -04:00
parent 5132fd8ca2
commit e86cd5c9c8
11 changed files with 274 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# AOW4 Selenium Tests
Requirements:
- .NET 10 SDK
- Google Chrome installed (compatible with ChromeDriver package)
- The AOW4 web app running locally (by default at `http://localhost:5000`) or set `BASE_URL` env var.
Run tests:
```powershell
# optional: run headless
$env:HEADLESS = "1"
# optional: point to running app
$env:BASE_URL = "http://localhost:5000"
dotnet test AOW4.SeleniumTests\AOW4.SeleniumTests.csproj
```
Notes:
- Navigation tests use the UI nav links — ensure the app is running before executing tests.
- Broken links scanner sends HTTP HEAD requests and falls back to GET if needed.