use of org.eclipse.reddeer.workbench.impl.shell.WorkbenchShell in project jbosstools-openshift by jbosstools.
the class AbstractOpenShiftApplicationWizard method openWizardFromShellMenu.
/**
* Opens new application wizard via shell menu File - New. There has to be
* an existing connection in OpenShift explorer, otherwise method fails.
*/
public void openWizardFromShellMenu() {
new WorkbenchShell().setFocus();
new NewWizard().open();
new DefaultShell("New").setFocus();
new DefaultTreeItem("OpenShift", "OpenShift Application").select();
new NextButton().click();
signToOpenShiftAndClickNext();
new DefaultShell(OpenShiftLabel.Shell.NEW_APP_WIZARD).setFocus();
}
Aggregations