Search in sources :

Example 1 with ServerHasPublishState

use of org.eclipse.reddeer.eclipse.condition.ServerHasPublishState in project jbosstools-openshift by jbosstools.

the class DebuggingEAPAppTest method waitForserverAdapterToBeInRightState.

private static void waitForserverAdapterToBeInRightState() {
    new WaitUntil(new ServerHasState(new ServersView2().getServer(serverAdapter.getLabel()), ServerState.DEBUGGING), TimePeriod.VERY_LONG);
    new WaitUntil(new ServerHasPublishState(new ServersView2().getServer(serverAdapter.getLabel()), ServerPublishState.SYNCHRONIZED));
}
Also used : ServerHasState(org.eclipse.reddeer.eclipse.condition.ServerHasState) ServersView2(org.eclipse.reddeer.eclipse.wst.server.ui.cnf.ServersView2) ServerHasPublishState(org.eclipse.reddeer.eclipse.condition.ServerHasPublishState) WaitUntil(org.eclipse.reddeer.common.wait.WaitUntil)

Aggregations

WaitUntil (org.eclipse.reddeer.common.wait.WaitUntil)1 ServerHasPublishState (org.eclipse.reddeer.eclipse.condition.ServerHasPublishState)1 ServerHasState (org.eclipse.reddeer.eclipse.condition.ServerHasState)1 ServersView2 (org.eclipse.reddeer.eclipse.wst.server.ui.cnf.ServersView2)1