test(central-ui): assert the Health KPIs link is a real anchor element

This commit is contained in:
Joseph Doherty
2026-05-19 06:24:39 -04:00
parent 82745ef916
commit 562a1d1678

View File

@@ -88,7 +88,8 @@ public class HealthPageTests : BunitContext
public void RendersLinkToTheNotificationKpisPage()
{
var cut = Render<HealthPage>();
Assert.Contains("/notifications/kpis", cut.Markup);
var link = cut.Find("a[href='/notifications/kpis']");
Assert.Contains("View details", link.TextContent);
}
[Fact]