Selenium: not check Workspace API installer changeability in WorkspaceDetailsSingleMachineTest test (#9350)

6.19.x
Sergey Skorik 2018-04-06 12:45:17 +03:00 committed by GitHub
parent 131ae27612
commit b312f47bdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 12 deletions

View File

@ -76,17 +76,6 @@ public class WorkspaceInstallers {
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(

View File

@ -129,7 +129,6 @@ public class WorkspaceDetailsSingleMachineTest {
@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");