use of org.jboss.tools.openshift.reddeer.wizard.v3.NewOpenShift3ApplicationWizard in project jbosstools-openshift by jbosstools.
the class CreateApplicationFromTemplateTest method createApplicationFromLocalFileSystemTemplate.
@Test
public void createApplicationFromLocalFileSystemTemplate() {
new NewOpenShift3ApplicationWizard(connectionReq.getConnection()).openWizardFromExplorer(DatastoreOS3.PROJECT1_DISPLAYED_NAME);
new DefaultTabItem(OpenShiftLabel.TextLabels.CUSTOM_TEMPLATE).activate();
new LabeledText(OpenShiftLabel.TextLabels.SELECT_LOCAL_TEMPLATE).setText(TESTS_PROJECT_LOCATION + File.separator + "eap64-basic-s2i.json");
// 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 OpenNewApplicationWizardTest method testOpenNewApplicationWizardViaCentral.
@Test
public void testOpenNewApplicationWizardViaCentral() {
Assume.assumeTrue(centralIsAvailable());
new NewOpenShift3ApplicationWizard(connectionReq.getConnection()).openWizardFromCentral();
closeWizard();
}
use of org.jboss.tools.openshift.reddeer.wizard.v3.NewOpenShift3ApplicationWizard in project jbosstools-openshift by jbosstools.
the class OpenNewApplicationWizardTest method testOpenNewApplicationWizardViaShellMenu.
@Test
public void testOpenNewApplicationWizardViaShellMenu() {
new NewOpenShift3ApplicationWizard(connectionReq.getConnection()).openWizardFromShellMenu();
closeWizard();
}
use of org.jboss.tools.openshift.reddeer.wizard.v3.NewOpenShift3ApplicationWizard in project jbosstools-openshift by jbosstools.
the class NewApplicationWizardHandlingTest method openNewApplicationWizard.
@Before
public void openNewApplicationWizard() {
OpenShift3NativeProjectUtils.getOrCreateProject(DatastoreOS3.PROJECT1, DatastoreOS3.PROJECT1_DISPLAYED_NAME, StringUtils.EMPTY, connectionReq.getConnection());
OpenShift3NativeProjectUtils.getOrCreateProject(DatastoreOS3.PROJECT2, StringUtils.EMPTY, StringUtils.EMPTY, connectionReq.getConnection());
new NewOpenShift3ApplicationWizard(connectionReq.getConnection()).openWizardFromExplorer();
}
Aggregations