use of org.jboss.tools.openshift.reddeer.wizard.v3.NewOpenShift3ApplicationWizard in project jbosstools-openshift by jbosstools.
the class OpenNewApplicationWizardTest method testOpenNewApplicationWizardViaOpenShiftExplorer.
@Test
public void testOpenNewApplicationWizardViaOpenShiftExplorer() {
new NewOpenShift3ApplicationWizard(connectionReq.getConnection()).openWizardFromExplorer(projectReq.getProject().getDisplayName());
closeWizard();
}
use of org.jboss.tools.openshift.reddeer.wizard.v3.NewOpenShift3ApplicationWizard in project jbosstools-openshift by jbosstools.
the class HandleCustomTemplateTest method assertTemplateIsUsableInApplicationWizard.
private void assertTemplateIsUsableInApplicationWizard() {
new NewOpenShift3ApplicationWizard(connectionReq.getConnection()).openWizardFromExplorer();
try {
new DefaultTreeItem("helloworld-sample (instant-app) - " + DatastoreOS3.PROJECT1);
} catch (RedDeerException ex) {
fail("Template is not visible in New OpenShift application wizard although it should be.");
}
new CancelButton().click();
new WaitWhile(new ShellIsAvailable(OpenShiftLabel.Shell.NEW_APP_WIZARD));
new WaitWhile(new JobIsRunning(), TimePeriod.LONG);
}
use of org.jboss.tools.openshift.reddeer.wizard.v3.NewOpenShift3ApplicationWizard in project jbosstools-openshift by jbosstools.
the class CreateApplicationFromTemplateTest method createApplicationFromTemplateProvidedByURL.
@Test
public void createApplicationFromTemplateProvidedByURL() {
new NewOpenShift3ApplicationWizard(connectionReq.getConnection()).openWizardFromExplorer(DatastoreOS3.PROJECT1_DISPLAYED_NAME);
new DefaultTabItem(OpenShiftLabel.TextLabels.CUSTOM_TEMPLATE).activate();
new LabeledText(OpenShiftLabel.TextLabels.SELECT_LOCAL_TEMPLATE).setText(URL);
// TODO: Remove comment once JBIDE-24492 is resolved
// assertTrue("Defined resource button should be enabled",
// new PushButton(OpenShiftLabel.Button.DEFINED_RESOURCES).isEnabled());
completeApplicationCreationAndVerify(helloworldProject);
}
use of org.jboss.tools.openshift.reddeer.wizard.v3.NewOpenShift3ApplicationWizard in project jbosstools-openshift by jbosstools.
the class CreateApplicationOnBuilderImageTest method validateJBIDE22704FromCentral.
@Test
public void validateJBIDE22704FromCentral() {
new NewOpenShift3ApplicationWizard(connectionReq.getConnection()).openWizardFromCentral();
validateJBIDE22704();
}
use of org.jboss.tools.openshift.reddeer.wizard.v3.NewOpenShift3ApplicationWizard in project jbosstools-openshift by jbosstools.
the class CreateApplicationOnBuilderImageTest method validateJBIDE22704FromShellMenu.
@Test
public void validateJBIDE22704FromShellMenu() {
new NewOpenShift3ApplicationWizard(connectionReq.getConnection()).openWizardFromShellMenu();
validateJBIDE22704();
}
Aggregations