Author: jjankovi
Date: 2012-06-25 10:58:41 -0400 (Mon, 25 Jun 2012)
New Revision: 42199
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java
Log:
enhancement of runRestServiceOnConfiguredServer method
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java 2012-06-25
14:58:05 UTC (rev 42198)
+++
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java 2012-06-25
14:58:41 UTC (rev 42199)
@@ -14,9 +14,11 @@
import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEditor;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
import org.jboss.tools.ui.bot.ext.Timing;
+import org.jboss.tools.ui.bot.ext.condition.ViewIsActive;
import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.jboss.tools.ws.ui.bot.test.WSTestBase;
import org.jboss.tools.ws.ui.bot.test.uiutils.RESTFullExplorer;
import org.jboss.tools.ws.ui.bot.test.uiutils.RunOnServerDialog;
@@ -159,6 +161,7 @@
protected void runRestServiceOnConfiguredServer(String webService) {
RunOnServerDialog dialog =
restfulWizard.runOnServer(restfulWizard.restService(webService));
dialog.chooseExistingServer().selectServer(configuredState.getServer().name).finish();
+ bot.waitUntil(new ViewIsActive(IDELabel.View.WEB_SERVICE_TESTER));
}
protected SWTBotTreeItem[] restfulServicesForProject(String projectName) {
Show replies by date