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.OrganizationPage.java
License:Open Source License
public void clickBackButton() { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(backIcon)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.OrganizationPage.java
License:Open Source License
public void clickMembersTab() { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(membersTab)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.OrganizationPage.java
License:Open Source License
public void clickSubOrganizationsTab() { WaitUtils.sleepQuietly(1); redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(subOrganizationsTab)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.OrganizationPage.java
License:Open Source License
public void clickAddSuborganizationButton() { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(addSubOrganizationsButton)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.OrganizationPage.java
License:Open Source License
public String getOrganizationTitle() { return redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(organizationTitle)).getText(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.OrganizationPage.java
License:Open Source License
public void setOrganizationName(String name) { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(organizationName)).clear(); redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(organizationName)).sendKeys(name); waitOrganizationName(name);//ww w . j ava 2 s . c o m }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.OrganizationPage.java
License:Open Source License
public void clickDeleteOrganizationButton() { redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(deleteOrgButton)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.OrganizationPage.java
License:Open Source License
public int getWorkspaceCap() { return Integer.parseInt( redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(workspaceCap)).getAttribute("value")); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.OrganizationPage.java
License:Open Source License
public int getRunningWorkspaceCap() { return Integer.parseInt(redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(runningWorkspaceCap)) .getAttribute("value")); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.OrganizationPage.java
License:Open Source License
public int getWorkspaceRamCap() { return Integer.parseInt(redrawUiElementsTimeout.until(ExpectedConditions.visibilityOf(workspaceRamCap)) .getAttribute("value")); }