Merge pull request #298 from LD-Reborn/296-bug-users-not-loaded-image-is-not-round

Replaced sleep with WebDriverAwait in AppHelper Login
This commit is contained in:
LD50
2025-11-10 01:17:25 +01:00
committed by GitHub

View File

@@ -69,7 +69,7 @@ public static class AppHelper
password.SendKeys("Test1234.");
IWebElement submit = driver.FindElement(By.CssSelector("button[type=\"submit\"]"));
submit.Click();
Thread.Sleep(250);
Timeout(driver).Until(ExpectedConditions.UrlContains("/Home/Index"));
}
public static bool TryRetryFindSuccessToast(ChromeDriver driver)