Search in sources :

Example 1 with NewServerWizard

use of org.eclipse.reddeer.eclipse.wst.server.ui.wizard.NewServerWizard in project jbosstools-openshift by jbosstools.

the class ServerAdapterWizardHandlingTest method openNewServerAdapterWizard.

private void openNewServerAdapterWizard() {
    NewServerWizard dialog = new NewServerWizard();
    dialog.open();
    NewServerWizardPage page = new NewServerWizardPage(dialog);
    dialog.open();
    new WaitUntil(new JobIsKilled("Refreshing server adapter list"), TimePeriod.LONG, false);
    page.selectType(OpenShiftLabel.Others.OS3_SERVER_ADAPTER);
    dialog.next();
}
Also used : NewServerWizard(org.eclipse.reddeer.eclipse.wst.server.ui.wizard.NewServerWizard) JobIsKilled(org.eclipse.reddeer.workbench.core.condition.JobIsKilled) WaitUntil(org.eclipse.reddeer.common.wait.WaitUntil) NewServerWizardPage(org.eclipse.reddeer.eclipse.wst.server.ui.wizard.NewServerWizardPage)

Example 2 with NewServerWizard

use of org.eclipse.reddeer.eclipse.wst.server.ui.wizard.NewServerWizard in project jbosstools-openshift by jbosstools.

the class CreateServerAdapterTest method testCreateOpenShift3ServerAdapterViaShellMenu.

@Test
public void testCreateOpenShift3ServerAdapterViaShellMenu() {
    NewServerWizard dialog = new NewServerWizard();
    dialog.open();
    NewServerWizardPage page = new NewServerWizardPage(dialog);
    dialog.open();
    page.selectType(OpenShiftLabel.Others.OS3_SERVER_ADAPTER);
    next();
    next();
    setAdapterDetailsAndCreateAdapterAndVerifyExistence();
}
Also used : NewServerWizard(org.eclipse.reddeer.eclipse.wst.server.ui.wizard.NewServerWizard) NewServerWizardPage(org.eclipse.reddeer.eclipse.wst.server.ui.wizard.NewServerWizardPage) AbstractTest(org.jboss.tools.openshift.ui.bot.test.application.v3.basic.AbstractTest) Test(org.junit.Test)

Aggregations

NewServerWizard (org.eclipse.reddeer.eclipse.wst.server.ui.wizard.NewServerWizard)2 NewServerWizardPage (org.eclipse.reddeer.eclipse.wst.server.ui.wizard.NewServerWizardPage)2 WaitUntil (org.eclipse.reddeer.common.wait.WaitUntil)1 JobIsKilled (org.eclipse.reddeer.workbench.core.condition.JobIsKilled)1 AbstractTest (org.jboss.tools.openshift.ui.bot.test.application.v3.basic.AbstractTest)1 Test (org.junit.Test)1