Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Add app - Tab iOS
- helpers.devLog("Fill iOS app");
- await helpers.waitForAjax();
- await helpers.waitForStablePage(20000, 500);
- console.log("me work?")
- let inputStoreID = await driver.wait(until.elementLocated(By.className("select2-selection select2-selection--single")));
- console.log("me work!")
- await driver.wait(until.elementIsVisible(inputStoreID));
- console.log("int coming?")
- await inputStoreID.click();
- let searchStoreID = await driver.wait(until.elementLocated(By.className("select2-search__field")));
- await driver.wait(until.elementIsVisible(searchStoreID));
- console.log("wtf?")
- await searchStoreID.sendKeys(parseInt(305309870));
- console.log("wtf?222")
- await searchStoreID.sendKeys(Key.ENTER);
- console.log("wtf3333?")
- //await inputStoreID.submit();Key.ENTER
- console.log("no")
- await driver.wait(until.elementIsVisible(saveForm));
- console.log("sdgfsdgsdg?")
- await saveForm.click();
- await helpers.sleep(2000000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement