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 #15822
7.20.x
Aleksandr Shmaraiev 2020-01-27 12:37:20 +02:00 committed by GitHub
parent 80df9d95e5
commit de4018e227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 10 deletions

View File

@ -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 =

View File

@ -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();

View File

@ -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);

View File

@ -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(