Skip to content

Commit

Permalink
Selenium: add info about known #12315 issue to TheiaBuildPluginTest s…
Browse files Browse the repository at this point in the history
…elenium test (#12316)
  • Loading branch information
SkorikSergey authored Dec 29, 2018
1 parent cb5da3f commit e885bbd
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
package org.eclipse.che.selenium.theia;

import static org.eclipse.che.selenium.core.TestGroup.OPENSHIFT;
import static org.eclipse.che.selenium.core.TestGroup.UNDER_REPAIR;
import static org.eclipse.che.selenium.core.constant.TestTimeoutsConstants.LOADER_TIMEOUT_SEC;
import static org.eclipse.che.selenium.core.constant.TestTimeoutsConstants.UPDATING_PROJECT_TIMEOUT_SEC;
import static org.eclipse.che.selenium.pageobject.dashboard.NewWorkspace.Stack.CHE_7_PREVIEW;
Expand Down Expand Up @@ -40,7 +41,7 @@
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;

@Test(groups = OPENSHIFT)
@Test(groups = {OPENSHIFT, UNDER_REPAIR})
public class TheiaBuildPluginTest {
private static final String WORKSPACE_NAME = NameGenerator.generate("wksp-", 5);
private static final String EXPECTED_DEVELOPMENT_HOST_TITLE = "Development Host";
Expand Down Expand Up @@ -105,8 +106,16 @@ public void pluginShouldBeBuilt() {
theiaIde.pressKeyCombination(Keys.LEFT_CONTROL, Keys.LEFT_SHIFT, "p");
theiaProposalForm.waitForm();
theiaProposalForm.enterTextToSearchField(yeomanWizardSearchSequence);
theiaProposalForm.waitProposal("Yeoman Wizard");
theiaProposalForm.clickOnProposal("Yeoman Wizard");
theiaProposalForm.waitForm();

try {
theiaProposalForm.waitForm();
} catch (TimeoutException ex) {
// remove try-catch block after issue has been resolved
fail("Known permanent failure https://github.com/eclipse/che/issues/12315");
}

theiaProposalForm.enterTextToSearchField(pluginNameSearchSequence);
seleniumWebDriverHelper.pressEnter();
theiaProposalForm.clickOnProposal(backendPluginDescription);
Expand Down

0 comments on commit e885bbd

Please sign in to comment.