mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Expanded RetryFact to all facts
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user