use of org.eclipse.reddeer.swt.impl.button.CancelButton in project jbosstools-openshift by jbosstools.
the class OpenNewApplicationWizardTest method closeWizard.
private void closeWizard() {
new CancelButton().click();
new WaitWhile(new ShellIsAvailable(OpenShiftLabel.Shell.NEW_APP_WIZARD), TimePeriod.LONG);
new WaitWhile(new JobIsRunning());
}
use of org.eclipse.reddeer.swt.impl.button.CancelButton in project jbosstools-openshift by jbosstools.
the class ProjectNameValidationTest method closeNewProjectShell.
private void closeNewProjectShell() {
new CancelButton().click();
new WaitWhile(new ShellIsAvailable(OpenShiftLabel.Shell.CREATE_OS_PROJECT), TimePeriod.LONG);
}
use of org.eclipse.reddeer.swt.impl.button.CancelButton in project jbosstools-openshift by jbosstools.
the class AbstractOpenShiftApplicationWizard method cancel.
/**
* Waits and clicks Cancel button .
*/
public void cancel() {
new WaitUntil(new ControlIsEnabled(new CancelButton()), TimePeriod.LONG);
new CancelButton().click();
}
use of org.eclipse.reddeer.swt.impl.button.CancelButton in project jbosstools-openshift by jbosstools.
the class OpenShift3ConnectionWizard method cancel.
/**
* Waits and clicks Cancel button .
*/
public void cancel() {
new WaitUntil(new ControlIsEnabled(new CancelButton()), TimePeriod.LONG);
new CancelButton().click();
waitForShellToClose(getShell());
}
use of org.eclipse.reddeer.swt.impl.button.CancelButton in project linuxtools by eclipse.
the class ImageTagTest method testAddUpperCaseTagToImage.
@Test
public void testAddUpperCaseTagToImage() {
DockerExplorerView explorer = new DockerExplorerView();
explorer.open();
try {
getConnection().getImage(IMAGE_NAME).addTagToImage(IMAGE_TAG_UPPERCASE);
} catch (WaitTimeoutExpiredException ex) {
new CancelButton().click();
// swallowing, it is not possible to tag image with upper case
}
}
Aggregations