E2E: Update e2e java selenium tests according new behaviour on UD (#15823)
* Update a web-element according to change on UD * Update the 'RecreateUpdateStrategyTest' according to change a behaviour on UD * Add the tests to the 'UNDER_REPAIR' group via the known issue #158227.20.x
parent
80df9d95e5
commit
de4018e227
|
|
@ -85,7 +85,7 @@ public class Workspaces {
|
|||
String WORKSPACE_ITEM_ACTIONS =
|
||||
"//div[@id='ws-name-%s']//*[@name='workspace-stop-start-button']/div";
|
||||
String WORKSPACE_ITEM_CONFIGURE_BUTTON =
|
||||
"//div[@id='ws-name-%s']//a[@name='configure-workspace-button']";
|
||||
"//div[@id='ws-name-%s']//span[@name='configure-workspace-button']";
|
||||
String WORKSPACE_ITEM_ADD_PROJECT_BUTTON =
|
||||
"//div[@id='ws-name-%s']//span[@name='add-project-button']";
|
||||
String WORKSPACE_ITEM_STOP_START_WORKSPACE_BUTTON =
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@ import org.testng.Assert;
|
|||
import org.testng.annotations.BeforeClass;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
@Test(groups = {TestGroup.MULTIUSER, TestGroup.OPENSHIFT, TestGroup.K8S})
|
||||
// Known permanent failure https://github.com/eclipse/che/issues/15822
|
||||
@Test(groups = {TestGroup.UNDER_REPAIR, TestGroup.MULTIUSER, TestGroup.OPENSHIFT, TestGroup.K8S})
|
||||
public class AddWorkspaceToOrganizationTest {
|
||||
|
||||
private static final String WORKSPACE_FOR_ADMIN_1 = generate("workspace", 4);
|
||||
|
|
@ -158,6 +159,7 @@ public class AddWorkspaceToOrganizationTest {
|
|||
organizationListPage.waitForOrganizationsToolbar();
|
||||
organizationListPage.waitOrganizationInList(organizationName);
|
||||
organizationListPage.clickOnOrganization(organizationName);
|
||||
dashboard.waitNotificationIsClosed();
|
||||
organizationPage.clickOnWorkspacesTab();
|
||||
organizationPage.clickOnAddWorkspaceBtn();
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,8 @@ import org.testng.annotations.AfterClass;
|
|||
import org.testng.annotations.BeforeClass;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
@Test(groups = {TestGroup.MULTIUSER, TestGroup.OPENSHIFT, TestGroup.K8S})
|
||||
// Known permanent failure https://github.com/eclipse/che/issues/15822
|
||||
@Test(groups = {TestGroup.UNDER_REPAIR, TestGroup.MULTIUSER, TestGroup.OPENSHIFT, TestGroup.K8S})
|
||||
public class ShareWorkspaceMemberTest {
|
||||
|
||||
private static final String WORKSPACE_NAME = generate("workspace", 4);
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ import org.eclipse.che.selenium.pageobject.dashboard.workspaces.Workspaces;
|
|||
import org.eclipse.che.selenium.pageobject.dashboard.workspaces.Workspaces.Status;
|
||||
import org.eclipse.che.selenium.pageobject.theia.TheiaIde;
|
||||
import org.eclipse.che.selenium.pageobject.theia.TheiaProjectTree;
|
||||
import org.testng.Assert;
|
||||
import org.testng.annotations.AfterClass;
|
||||
import org.testng.annotations.BeforeClass;
|
||||
import org.testng.annotations.Test;
|
||||
|
|
@ -80,12 +79,6 @@ public class RecreateUpdateStrategyTest {
|
|||
|
||||
cheTestSystemClient.stop();
|
||||
|
||||
// open the Dashboard and make sure that workspace is not available after suspending system
|
||||
dashboard.open();
|
||||
dashboard.waitDashboardToolbarTitle();
|
||||
dashboard.selectWorkspacesItemOnDashboard();
|
||||
Assert.assertFalse(dashboard.isWorkspacePresentedInRecentList(WORKSPACE_NAME));
|
||||
|
||||
// performs rollout
|
||||
hotUpdateUtil.executeMasterPodUpdateCommand();
|
||||
cheTestSystemClient.waitWorkspaceMasterStatus(
|
||||
|
|
|
|||
Loading…
Reference in New Issue