use of org.eclipse.reddeer.swt.impl.button.NextButton 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.NextButton in project jbosstools-openshift by jbosstools.
the class AbstractOpenShiftApplicationWizard method next.
/**
* Waits and clicks Next button.
*/
public void next() {
new WaitUntil(new ControlIsEnabled(new NextButton()), TimePeriod.LONG);
new NextButton().click();
}
use of org.eclipse.reddeer.swt.impl.button.NextButton in project linuxtools by eclipse.
the class ImageSearchPage method next.
public void next() {
new NextButton().click();
new WaitWhile(new JobIsRunning(), TimePeriod.DEFAULT);
}
use of org.eclipse.reddeer.swt.impl.button.NextButton in project jbosstools-openshift by jbosstools.
the class ImportApplicationTest method testImportOpenShiftApplicationViaShellMenu.
@Test
public void testImportOpenShiftApplicationViaShellMenu() {
new ShellMenuItem("File", "Import...").select();
new WaitUntil(new ShellIsAvailable(OpenShiftLabel.Shell.IMPORT), TimePeriod.LONG);
new DefaultShell(OpenShiftLabel.Shell.IMPORT);
new DefaultTreeItem("OpenShift", "Existing OpenShift Application").select();
new NextButton().click();
new DefaultShell(OpenShiftLabel.Shell.IMPORT_APPLICATION);
TestUtils.acceptSSLCertificate();
new NextButton().click();
TestUtils.acceptSSLCertificate();
new WaitWhile(new JobIsRunning(), TimePeriod.LONG);
new WaitUntil(new ButtonWithTextIsAvailable("Refresh"), TimePeriod.VERY_LONG);
new WaitUntil(new TreeHasChildren(new DefaultTree()), TimePeriod.DEFAULT);
new DefaultTreeItem(projectReq.getProjectName() + " " + projectReq.getProjectName()).getItems().get(0).select();
new WaitUntil(new ControlIsEnabled(new NextButton()), TimePeriod.DEFAULT);
new NextButton().click();
new FinishButton().click();
new WaitWhile(new ShellIsAvailable(OpenShiftLabel.Shell.IMPORT_APPLICATION), TimePeriod.VERY_LONG);
new WaitWhile(new JobIsRunning(), TimePeriod.VERY_LONG);
ProjectExplorer projectExplorer = new ProjectExplorer();
projectExplorer.open();
assertTrue("There should be imported " + PROJECT_NAME + "project, but there is not", projectExplorer.containsProject(PROJECT_NAME));
new WaitWhile(new JobIsRunning(), TimePeriod.LONG);
}
use of org.eclipse.reddeer.swt.impl.button.NextButton 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