test(central-ui): assert the Health KPIs link is a real anchor element
This commit is contained in:
@@ -88,7 +88,8 @@ public class HealthPageTests : BunitContext
|
|||||||
public void RendersLinkToTheNotificationKpisPage()
|
public void RendersLinkToTheNotificationKpisPage()
|
||||||
{
|
{
|
||||||
var cut = Render<HealthPage>();
|
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]
|
[Fact]
|
||||||
|
|||||||
Reference in New Issue
Block a user