Selenium: not check Workspace API installer changeability in WorkspaceDetailsSingleMachineTest test (#9350)
parent
131ae27612
commit
b312f47bdd
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue