Author: vpakan(a)redhat.com
Date: 2012-01-04 06:29:21 -0500 (Wed, 04 Jan 2012)
New Revision: 37636
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java
Log:
Wait for non ignored jobs before trying to close Report Usage Windows.
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java 2012-01-04
11:28:50 UTC (rev 37635)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTJBTExt.java 2012-01-04
11:29:21 UTC (rev 37636)
@@ -514,6 +514,7 @@
SWTWorkbenchBot bot = new SWTWorkbenchBot();
SWTBotShell shJbtUsage = null;
SWTBotShell shSubclipseUsage = null;
+ new SWTUtilExt(bot).waitForNonIgnoredJobs();
SWTBotShell[] shells = bot.shells();
int index = 0;
while ((shJbtUsage == null || shSubclipseUsage == null)