mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Fixed typo
This commit is contained in:
@@ -18,9 +18,9 @@ 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();
|
||||
Thread.Sleep(1); //AppHelper.Timeout(driver, 30).Until(ExpectedConditions.ElementExists(By.Id("createLocationSelect-opt-1")));
|
||||
Thread.Sleep(1000); //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-ts-control\").value=\"somewhere\"");
|
||||
driver.ExecuteJavaScript("document.getElementById(\"createLocationSelect-opt-1\").click()");
|
||||
driver.FindElement(By.Id("createUsersSelect-ts-control")).Click();
|
||||
AppHelper.AwaitVisible(driver, By.Id("createUsersSelect-opt-1"));
|
||||
|
||||
Reference in New Issue
Block a user