Tech stack stub page and changing project to be just one Web Assembly project for now

This commit is contained in:
2026-05-27 11:25:04 -04:00
parent 8a20cfec4f
commit dd74f9b69f
140 changed files with 64156 additions and 97 deletions
+18
View File
@@ -0,0 +1,18 @@
using NUnit.Framework;
namespace AOW4.SeleniumTests.Tests;
[TestFixture]
public class NavigationTests : BaseTest
{
[TestCase("Building Plan Calculator", "/building-calculator")]
public void ClickNavLink_NavigatesToPage(string linkText, string expectedPath)
{
GoHome();
Assert.IsTrue(
Driver.Url.Contains(expectedPath, StringComparison.OrdinalIgnoreCase) ||
Driver.PageSource.Contains(linkText),
$"Expected to be on route containing '{expectedPath}' after clicking '{linkText}', but was '{Driver.Url}'");
}
}