Author: jgargula
Date: 2012-01-16 10:46:49 -0500 (Mon, 16 Jan 2012)
New Revision: 37868
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java
Log:
Fixed very long waiting time for run as java application
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java 2012-01-16
15:23:48 UTC (rev 37867)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java 2012-01-16
15:46:49 UTC (rev 37868)
@@ -1231,11 +1231,12 @@
//bot.sleep(30000l);
//System.out.println (treeItem.contextMenu("Run As").menu("2 Java
Application").getText());
- bot.sleep(30000l);
+ //bot.sleep(30000l);
+ bot.sleep(Timing.time1S());
treeItem.contextMenu("Run As").menu("2 Java
Application").click();
//runJavaApplication("helloworld_testclient","org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage","
");
- bot.sleep(30000l); // This is needed to enable the test to run successfully to
completion
-
+ //bot.sleep(30000l); // This is needed to enable the test to run successfully to
completion
+ bot.waitForShell(IDELabel.Shell.PROGRESS_INFORMATION);
}
/**
Show replies by date