Fix AssertNoError

This commit is contained in:
nicolas.dorier 2022-01-07 19:49:33 +09:00
parent 81c1cc6728
commit 64b85ac1f9
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -33,7 +33,7 @@ namespace BTCPayServer.Tests
foreach (var dangerAlert in driver.FindElements(By.ClassName("alert-danger")))
Assert.False(dangerAlert.Displayed, $"No alert should be displayed, but found this on {driver.Url}: {dangerAlert.Text}");
}
Assert.DoesNotContain("Access denied</h", driver.PageSource);
Assert.DoesNotContain("- Denied</h", driver.PageSource);
Assert.DoesNotContain("Page not found</h", driver.PageSource);
}