Expanded RetryFact to all facts

This commit is contained in:
2025-11-15 23:11:48 +01:00
parent 72b0ecf04f
commit d6b81aa362
5 changed files with 13 additions and 13 deletions

View File

@@ -22,7 +22,7 @@ public class HomePageTests : IDisposable
serverProcess = app.Result;
}
[Fact]
[RetryFact(5)]
public void HomePage_ShouldShowLoginPage()
{
_driver.Navigate().GoToUrl(serverUrl);
@@ -30,14 +30,14 @@ public class HomePageTests : IDisposable
Assert.True(loginForm.Displayed);
}
[Fact]
[RetryFact(5)]
public void HomePage_ShouldSucceedLogin()
{
AppHelper.Login(_driver);
Assert.Contains("/Home/Index", _driver.Url);
}
[Fact]
[RetryFact(5)]
public void HomePage_ShouldSucceedLoginAndLogout()
{
AppHelper.Login(_driver);
@@ -51,7 +51,7 @@ public class HomePageTests : IDisposable
Assert.Contains("/Home/Login", _driver.Url);
}
[Fact]
[RetryFact(5)]
public void HomePage_ShouldContainButtons()
{
_driver.Navigate().GoToUrl(new Uri(serverUri, "/Home/Index"));