Source:
public void checkImportAndResolveDependenciesEclipceCheProject() { int timeoutToOpenInfoPanel = 120; int timeoutToClosingInfoPanel = 2900; projectExplorer.waitProjectExplorer(); menu.runCommand(WORKSPACE, IMPORT_PROJECT); importProject.waitAndTypeImporterAsGitInfo(ECLIPSE_CHE_PROJECT_URL, PROJECT_NAME); projectWizard.waitCreateProjectWizardForm(); projectWizard.selectTypeProject(MAVEN); projectWizard.clickSaveButton(); loader.waitOnClosed(); closeErrorDialog(); projectWizard.waitCreateProjectWizardFormIsClosed(); loader.waitOnClosed(); projectExplorer.waitItem(PROJECT_NAME); projectExplorer.openItemByPath(PROJECT_NAME); loader.waitOnClosed(); projectExplorer.quickRevealToItemWithJavaScript(PATH_TO_JAVA_FILE); projectExplorer.openItemByPath(PATH_TO_JAVA_FILE); editor.waitActive(); projectExplorer.quickRevealToItemWithJavaScript(PATH_TO_POM_FILE); projectExplorer.openItemByPath(PATH_TO_POM_FILE); editor.waitActive(); projectExplorer.quickRevealToItemWithJavaScript(PATH_TO_TS_FILE); projectExplorer.openItemByPath(PATH_TO_TS_FILE); editor.waitActive(); loader.waitOnClosed(); mavenPluginStatusBar.waitExpectedTextInInfoPanel("Resolving project:", timeoutToOpenInfoPanel); mavenPluginStatusBar.clickOnInfoPanel(); mavenPluginStatusBar.waitResolveDependenciesFormToOpen(); mavenPluginStatusBar.closeResolveDependenciesFormByKeys(ESCAPE.toString()); mavenPluginStatusBar.clickOnInfoPanel(); mavenPluginStatusBar.waitResolveDependenciesFormToOpen(); mavenPluginStatusBar.waitClosingInfoPanel(timeoutToClosingInfoPanel); mavenPluginStatusBar.waitResolveDependenciesFormToClose(); projectExplorer.waitItem(PROJECT_NAME); editor.waitTabIsPresent("CodenvyEditor"); editor.waitTabIsPresent("che-dashboard-war"); editor.waitTabIsPresent("index.module.ts"); }

Target:
public void checkImportAndResolveDependenciesEclipceCheProject() { final int timeoutToOpenInfoPanel = 120; final int timeoutToClosingInfoPanel = 2900; projectExplorer.waitProjectExplorer(); menu.runCommand(WORKSPACE, IMPORT_PROJECT); importProject.waitAndTypeImporterAsGitInfo(ECLIPSE_CHE_PROJECT_URL, PROJECT_NAME); projectWizard.waitCreateProjectWizardForm(); projectWizard.selectTypeProject(MAVEN); projectWizard.clickSaveButton(); loader.waitOnClosed(); closeErrorDialog(); projectWizard.waitCreateProjectWizardFormIsClosed(); loader.waitOnClosed(); projectExplorer.waitItem(PROJECT_NAME); projectExplorer.openItemByPath(PROJECT_NAME); loader.waitOnClosed(); quickRevealToItemWithJavaScriptAndOpenFile(PATH_TO_JAVA_FILE); editor.waitActive(); quickRevealToItemWithJavaScriptAndOpenFile(PATH_TO_POM_FILE); editor.waitActive(); quickRevealToItemWithJavaScriptAndOpenFile(PATH_TO_TS_FILE); editor.waitActive(); loader.waitOnClosed(); mavenPluginStatusBar.waitExpectedTextInInfoPanel("Resolving project:", timeoutToOpenInfoPanel); mavenPluginStatusBar.clickOnInfoPanel(); mavenPluginStatusBar.waitResolveDependenciesFormToOpen(); mavenPluginStatusBar.closeResolveDependenciesFormByKeys(ESCAPE.toString()); mavenPluginStatusBar.clickOnInfoPanel(); mavenPluginStatusBar.waitResolveDependenciesFormToOpen(); mavenPluginStatusBar.waitClosingInfoPanel(timeoutToClosingInfoPanel); mavenPluginStatusBar.waitResolveDependenciesFormToClose(); projectExplorer.waitItem(PROJECT_NAME); editor.waitTabIsPresent("CodenvyEditor"); editor.waitTabIsPresent("che-dashboard-war"); editor.waitTabIsPresent("index.module.ts"); }