Files
AOW4/AOW4.SeleniumTests/README.md
T
2026-05-27 10:51:19 -04:00

23 lines
609 B
Markdown

# 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.