List of usage examples for org.openqa.selenium.support.ui ExpectedConditions visibilityOf
public static ExpectedCondition<WebElement> visibilityOf(final WebElement element)
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.AddMember.java
License:Open Source License
public boolean checkAddButtonIsEnabled() { return redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(addMemberButton)).isEnabled(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.AddMember.java
License:Open Source License
public void clickAddButton() { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(addMemberButton)).click(); WaitUtils.sleepQuietly(1); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.AddMember.java
License:Open Source License
public void clickCancelButton() { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(cancelButton)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.AddMember.java
License:Open Source License
public void clickSaveButton() { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(saveButton)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.AddMember.java
License:Open Source License
public void clickDeleteButton() { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(saveButton)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.AddOrganization.java
License:Open Source License
public void setOrganizationName(String name) { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(newOrganizationName)).clear(); redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(newOrganizationName)).sendKeys(name); redrawUiElementsTimeout.until((WebDriver driver) -> driver .findElement(By.xpath(Locators.NEW_ORGANIZATION_NAME)).getAttribute("value").equals(name)); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.AddOrganization.java
License:Open Source License
public void clickAddMemberButton() { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(addMemberButton)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.AddOrganization.java
License:Open Source License
public boolean checkAddOrganizationButtonEnabled() { return redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(createOrganizationButton)).isEnabled(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.NavigationBar.java
License:Open Source License
public void waitNavigationBar() { new WebDriverWait(seleniumWebDriver, LOAD_PAGE_TIMEOUT_SEC) .until(ExpectedConditions.visibilityOf(navigationBar)); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.OrganizationPage.java
License:Open Source License
public void clickSettingsTab() { WaitUtils.sleepQuietly(1); redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(settingsTab)).click(); }