Attempt to fix selenium CI test flakiness

This commit is contained in:
2025-11-15 21:09:52 +01:00
parent b8ce21d17f
commit 899350799e
2 changed files with 2 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ public static class AssetsHelper
createAssetButton.Click();
AppHelper.AwaitVisible(driver, By.Id("createName"));
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.AwaitVisible(driver, By.Id("createLocationSelect-opt-1"));
driver.ExecuteJavaScript("document.getElementById(\"createLocationSelect-opt-1\").click()");