Author: jjankovi
Date: 2012-09-05 10:20:00 -0400 (Wed, 05 Sep 2012)
New Revision: 43416
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/TreeHelper.java
Log:
adding condition into TreeHelper
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/TreeHelper.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/TreeHelper.java 2012-09-05
14:19:35 UTC (rev 43415)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/TreeHelper.java 2012-09-05
14:20:00 UTC (rev 43416)
@@ -28,7 +28,8 @@
throw new WidgetNotFoundException("Could not find node with text:" +
node);
item.expand();
- while(item.getNode(0).getText().equals("Pending...")){
+ while(item.getNode(0).getText().equals("Pending...") ||
+ item.getNode(0).getText().equals("Loading...")) {
bot.sleep(Timing.time1S());
}
item = item.getNode(node);
Show replies by date