use of org.eclipse.reddeer.swt.impl.button.BackButton in project jbosstools-openshift by jbosstools.
the class LabelsTest method getToLabelsWizardPage.
@Before
public void getToLabelsWizardPage() {
OpenShift3NativeProjectUtils.getOrCreateProject(DatastoreOS3.PROJECT1, DatastoreOS3.PROJECT1_DISPLAYED_NAME, StringUtils.EMPTY, connectionReq.getConnection());
new NewOpenShift3ApplicationWizard(connectionReq.getConnection()).openWizardFromExplorer();
OpenShiftUtils.selectEAPTemplate();
new WaitUntil(new ControlIsEnabled(new NextButton()), TimePeriod.DEFAULT);
new NextButton().click();
new WaitUntil(new ControlIsEnabled(new BackButton()), TimePeriod.LONG);
new NextButton().click();
new WaitWhile(new ControlIsEnabled(new NextButton()), TimePeriod.LONG);
}
use of org.eclipse.reddeer.swt.impl.button.BackButton in project jbosstools-openshift by jbosstools.
the class BuilderImageApplicationWizardHandlingTest method next.
private static void next() {
new NextButton().click();
new WaitUntil(new ControlIsEnabled(new BackButton()));
}
use of org.eclipse.reddeer.swt.impl.button.BackButton in project jbosstools-openshift by jbosstools.
the class DeployDockerImageTest method proceedThroughDeployImageToOpenShiftWizard.
/**
* Proceeds through the image if the first wizard page has correct details -
* connection, project and image name.
*/
private void proceedThroughDeployImageToOpenShiftWizard() {
new WaitUntil(new ControlIsEnabled(new NextButton()), TimePeriod.DEFAULT, false);
assertTrue("Next button should be enabled if all details are set correctly", new NextButton().isEnabled());
new NextButton().click();
new WaitUntil(new ControlIsEnabled(new BackButton()), TimePeriod.LONG);
new NextButton().click();
if (!new CheckBox("Add Route").isChecked()) {
new CheckBox("Add Route").click();
}
new FinishButton().click();
new ShellWithButton("Deploy Image to OpenShift", "OK");
new OkButton().click();
new WaitWhile(new ShellIsAvailable("Deploy Image to OpenShift"), TimePeriod.LONG);
new WaitWhile(new JobIsRunning(), TimePeriod.LONG);
}
use of org.eclipse.reddeer.swt.impl.button.BackButton in project jbosstools-openshift by jbosstools.
the class AbstractOpenShiftApplicationWizard method signToOpenShiftAndClickNext.
private void signToOpenShiftAndClickNext() {
new DefaultShell(OpenShiftLabel.Shell.NEW_APP_WIZARD);
selectConnection(username, server, new DefaultCombo(0));
new NextButton().click();
processUntrustedSSLCertificate();
new WaitWhile(new JobIsRunning(), TimePeriod.LONG);
new WaitUntil(new ControlIsEnabled(new BackButton()), TimePeriod.LONG);
}
use of org.eclipse.reddeer.swt.impl.button.BackButton in project jbosstools-openshift by jbosstools.
the class CreateServerAdapterTest method next.
private void next() {
new WaitUntil(new ControlIsEnabled(new NextButton()));
new NextButton().click();
TestUtils.acceptSSLCertificate();
new WaitUntil(new ControlIsEnabled(new BackButton()));
}
Aggregations