use of org.eclipse.reddeer.eclipse.wst.server.ui.wizard.NewServerWizardPage in project jbosstools-openshift by jbosstools.
the class CDK32ServerEditorTest method setupServerWizardPage.
@Override
protected void setupServerWizardPage(NewMenuWizard dialog) {
NewServerWizardPage page = new NewServerWizardPage(dialog);
page.selectType(SERVER_TYPE_GROUP, CDK32_SERVER_NAME);
page.setName(getServerAdapter());
dialog.next();
NewCDK32ServerWizardPage containerPage = new NewCDK32ServerWizardPage();
containerPage.setCredentials(USERNAME, PASSWORD);
log.info("Setting hypervisor to: " + hypervisor);
containerPage.setHypervisor(hypervisor);
log.info("Setting binary to " + CDK32_MINISHIFT);
containerPage.setMinishiftBinary(CDK32_MINISHIFT);
// here comes possibility to set profile while creating server adapter
log.info("Setting profile to: ");
containerPage.setMinishiftProfile("");
new WaitWhile(new SystemJobIsRunning(getJobMatcher(MINISHIFT_VALIDATION_JOB)), TimePeriod.MEDIUM, false);
}
Aggregations