Skip to content

Commit

Permalink
Fix selenium tests (#11074)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoliy Bazko <[email protected]>
  • Loading branch information
tolusha authored Sep 5, 2018
1 parent 9a88fd8 commit 549b240
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public void setUp() throws Exception {
public void enterKeyCombinationTest() throws Exception {
projectExplorer.waitItem(PROJECT_NAME);
projectExplorer.openItemByPath(PROJECT_NAME);
consoles.waitJDTLSProjectResolveFinishedMessage(PROJECT_NAME);
notificationsPopupPanel.waitProgressPopupPanelClose();
loader.waitOnClosed();
keyBindings.enterKeyCombination(Keys.CONTROL, Keys.ALT, Keys.getKeyFromUnicode('n'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.eclipse.che.selenium.core.project.ProjectTemplates;
import org.eclipse.che.selenium.core.workspace.TestWorkspace;
import org.eclipse.che.selenium.pageobject.ChoiceDialog;
import org.eclipse.che.selenium.pageobject.Consoles;
import org.eclipse.che.selenium.pageobject.Ide;
import org.eclipse.che.selenium.pageobject.Loader;
import org.eclipse.che.selenium.pageobject.ProjectExplorer;
Expand Down Expand Up @@ -52,6 +53,7 @@ public class CheckCopyCutFeaturesForFilesTest {
@Inject private TestProjectServiceClient testProjectServiceClient;
@Inject private WarningDialog warningDialog;
@Inject private ChoiceDialog choiceDialog;
@Inject private Consoles consoles;

@BeforeClass
public void setUp() throws Exception {
Expand All @@ -67,6 +69,7 @@ public void setUp() throws Exception {
@Test
public void checkCopyPutFeaturesForFilesTest() {
projectExplorer.waitProjectExplorer();
consoles.waitJDTLSProjectResolveFinishedMessage(PROJECT_NAME);
projectExplorer.waitItem(PROJECT_NAME);
projectExplorer.quickExpandWithJavaScript();
loader.waitOnClosed();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public void setUp() throws Exception {
testProjectServiceClient.importProject(
workspace.getId(), Paths.get(resource.toURI()), PROJECT_NAME, MAVEN_SPRING);
ide.open(workspace);
consoles.waitJDTLSProjectResolveFinishedMessage(PROJECT_NAME);
}

@Test
Expand Down

0 comments on commit 549b240

Please sign in to comment.