use of org.jboss.tools.openshift.reddeer.wizard.importapp.ImportApplicationWizard in project jbosstools-openshift by jbosstools.
the class ImportApplicationWizardTest method testImportOpenShift3AppViaServerAdapterSettings.
@SuppressWarnings("unchecked")
@Test(expected = OpenshiftTestInFailureException.class)
public void testImportOpenShift3AppViaServerAdapterSettings() {
ServerSettingsWizard serverWizard = OpenShiftUtils.openServerSettingsWizardFromOpenshiftView(service);
ImportApplicationWizard importWizard = new ServerSettingsWizardPage().importProject();
new DefaultTree(importWizard).getItem(new TreeItemRegexMatcher(OpenShiftResources.NODEJS_SERVICE + ".*")).select();
importWizard.next();
importWizard.finish();
new DefaultShell(OpenShiftLabel.Shell.SERVER_ADAPTER_SETTINGS);
assertProjectNameFilled();
serverWizard.cancel();
assertProjectExistsInProjectView(OpenShiftResources.NODEJS_GIT_NAME);
}
Aggregations