Stub Gen Selenium Tests
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user