List of usage examples for org.openqa.selenium.support.ui ExpectedConditions elementToBeClickable
public static ExpectedCondition<WebElement> elementToBeClickable(final WebElement element)
From source file:org.eclipse.che.selenium.pageobject.dashboard.DashboardWorkspace.java
License:Open Source License
public void waitClipboardWorkspaceJsonFileBtn() { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.elementToBeClickable(clipboardWsJsonBtn)); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.DashboardWorkspace.java
License:Open Source License
/** click 'Open in IDE btn on All workspaces page' */ public void clickOpenInIdeWsBtn() { dashboard.waitNotificationIsClosed(); waitOpenInIdeWsEBtn();/*from w w w . j a v a2 s .c om*/ new WebDriverWait(seleniumWebDriver, EXPECTED_MESS_IN_CONSOLE_SEC) .until(ExpectedConditions.elementToBeClickable(openInIdeWsBtn)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.DashboardWorkspace.java
License:Open Source License
/** click on 'RUN' button in 'Workspace Information' */ public void clickOnRunWorkspace() { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.elementToBeClickable(runWorkspaceBtn)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.DashboardWorkspace.java
License:Open Source License
/** click on 'STOP' button in 'Workspace Information' */ public void clickOnStopWorkspace() { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.elementToBeClickable(stopWorkspaceBtn)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.DashboardWorkspace.java
License:Open Source License
/** click on 'DELETE' button in 'Delete workspace' */ public void clickOnDeleteWorkspace() { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.elementToBeClickable(deleteWorkspaceBtn)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.DashboardWorkspace.java
License:Open Source License
/** Click on the delete/remove button in the dialog window */ public void clickOnDeleteItInDialogWindow() { WaitUtils.sleepQuietly(1);/*w ww. jav a 2s .c o m*/ new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.elementToBeClickable(deleteItBtn)).click(); }
From source file:org.eclipse.che.selenium.pageobject.dashboard.organization.AddOrganization.java
License:Open Source License
public void clickCreateOrganizationButton() { redrawUiElementsTimeout.until(ExpectedConditions.elementToBeClickable(createOrganizationButton)).click(); }
From source file:org.eclipse.che.selenium.pageobject.DialogAbout.java
License:Open Source License
public void closeAboutDialog() { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.elementToBeClickable(aboutDialogOkButton)).click(); new WebDriverWait(seleniumWebDriver, 3) .until(ExpectedConditions.invisibilityOfElementLocated(By.cssSelector(ABOUT_DIALOG))); }
From source file:org.eclipse.che.selenium.pageobject.DialogAbout.java
License:Open Source License
public void clickOnBuildDetailsAnchor() { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.elementToBeClickable(buildDetailsAnchor)).click(); }
From source file:org.eclipse.che.selenium.pageobject.DialogAbout.java
License:Open Source License
public void closeBuildDetailsDialog() { new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC) .until(ExpectedConditions.elementToBeClickable(buildDetailsOkButton)).click(); new WebDriverWait(seleniumWebDriver, 3) .until(ExpectedConditions.invisibilityOfElementLocated(By.cssSelector(BUILD_DETAILS_WINDOW))); }