diff --git a/tests/Berufsschule_HAM.E2ETests/Helper/AppHelper.cs b/tests/Berufsschule_HAM.E2ETests/Helper/AppHelper.cs index a27550e..c9365d1 100644 --- a/tests/Berufsschule_HAM.E2ETests/Helper/AppHelper.cs +++ b/tests/Berufsschule_HAM.E2ETests/Helper/AppHelper.cs @@ -11,7 +11,7 @@ public static class AppHelper { public const string ServerUrl = "http://localhost:5275"; public static Uri ServerUri = new(ServerUrl); - public static int DefaultTimeout = 5; + public static int DefaultTimeout = 10; public static async Task StartApp(string appUrl) { var startInfo = new ProcessStartInfo @@ -73,7 +73,7 @@ public static class AppHelper password.SendKeys("Test1234."); IWebElement submit = driver.FindElement(By.CssSelector("button[type=\"submit\"]")); submit.Click(); - Timeout(driver).Until(ExpectedConditions.UrlContains("/Home/Index")); + Timeout(driver).Until(ExpectedConditions.UrlContains("/Home/Index")); } public static bool TryRetryFindSuccessToast(ChromeDriver driver)