use of org.eclipse.reddeer.swt.impl.browser.InternalBrowser in project jbosstools-openshift by jbosstools.
the class AbstractOpenShiftApplicationWizard method openWizardFromCentral.
/**
* Opens a new OpenShift application wizard from JBoss Central.
*/
public void openWizardFromCentral() {
new DefaultToolItem(new WorkbenchShell(), OpenShiftLabel.Others.RED_HAT_CENTRAL).click();
new WaitUntil(new CentralIsLoaded());
new InternalBrowser().execute(OpenShiftLabel.Others.OPENSHIFT_CENTRAL_SCRIPT);
new WaitUntil(new ShellIsAvailable(OpenShiftLabel.Shell.NEW_APP_WIZARD), TimePeriod.LONG);
signToOpenShiftAndClickNext();
new DefaultShell(OpenShiftLabel.Shell.NEW_APP_WIZARD).setFocus();
}
use of org.eclipse.reddeer.swt.impl.browser.InternalBrowser in project jbosstools-openshift by jbosstools.
the class StoreConnectionTest method invokeNewAppWizardFromCentral.
private void invokeNewAppWizardFromCentral() {
new DefaultToolItem(new WorkbenchShell(), OpenShiftLabel.Others.RED_HAT_CENTRAL).click();
new WaitUntil(new CentralIsLoaded());
new InternalBrowser().execute(OpenShiftLabel.Others.OPENSHIFT_CENTRAL_SCRIPT);
new WaitUntil(new ShellIsAvailable(OpenShiftLabel.Shell.NEW_APP_WIZARD), TimePeriod.LONG);
new DefaultShell("New OpenShift Application");
}
Aggregations