From 999e7495c00355bf7a2b1ffdd6f3eaf9594d9113 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Sun, 16 Nov 2025 16:33:51 +0100 Subject: [PATCH] Replaced timeout with Thread.Sleep --- tests/Berufsschule_HAM.E2ETests/Helper/AssetsHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Berufsschule_HAM.E2ETests/Helper/AssetsHelper.cs b/tests/Berufsschule_HAM.E2ETests/Helper/AssetsHelper.cs index 90e5a5c..385a350 100644 --- a/tests/Berufsschule_HAM.E2ETests/Helper/AssetsHelper.cs +++ b/tests/Berufsschule_HAM.E2ETests/Helper/AssetsHelper.cs @@ -18,7 +18,7 @@ public static class AssetsHelper driver.FindElement(By.Id("createName")).SendKeys(AppHelper.GetRandomName()); AppHelper.AwaitVisible(driver, By.Id("createLocationSelect-ts-control")); driver.FindElement(By.Id("createLocationSelect-ts-control")).Click(); - AppHelper.Timeout(driver, 30).Until(ExpectedConditions.ElementExists(By.Id("createLocationSelect-opt-1"))); + Thread.Sleep(1); //AppHelper.Timeout(driver, 30).Until(ExpectedConditions.ElementExists(By.Id("createLocationSelect-opt-1"))); AppHelper.ScrollIntoViewAndClick(driver, driver.FindElement(By.Id("createLocationSelect-opt-1"))); driver.ExecuteJavaScript("document.getElementById(\"createLocationSelect-ts-control\").value=\"somewhere\""); driver.ExecuteJavaScript("document.getElementById(\"createLocationSelect-opt-1\").click()");