Skip to content

Commit

Permalink
Selenium: not check Workspace API installer changeability in Workspac…
Browse files Browse the repository at this point in the history
…eDetailsSingleMachineTest test (#9350)
  • Loading branch information
Sergey Skorik authored Apr 6, 2018
1 parent 131ae27 commit b312f47
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,6 @@ public Boolean isInstallerStateTurnedOn(String installerName) {
return Boolean.parseBoolean(state);
}

public Boolean isInstallerStateNotChangeable(String installerName) {
String state =
new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC)
.until(
ExpectedConditions.visibilityOfElementLocated(
By.xpath(format(Locators.INSTALLER_STATE, installerName))))
.getAttribute("aria-disabled");

return Boolean.parseBoolean(state);
}

public String getInstallerDescription(String installerName) {
return new WebDriverWait(seleniumWebDriver, REDRAW_UI_ELEMENTS_TIMEOUT_SEC)
.until(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ public void checkOverviewTab() {
@Test
public void checkWorkingWithInstallers() {
workspaceDetails.selectTabInWorkspaceMenu(INSTALLERS);
assertTrue(workspaceInstallers.isInstallerStateNotChangeable("Workspace API"));

// check all needed installers in dev-machine exist
workspaceMachines.selectMachine("Workspace Installers", "dev-machine");
Expand Down

0 comments on commit b312f47

Please sign in to comment.