Author: ldimaggio
Date: 2012-10-03 10:44:50 -0400 (Wed, 03 Oct 2012)
New Revision: 44242
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java
Log:
Test cannot find the services tree - this is failing on Jenkins - working locally. Adding
call to org.jboss.tools.ui.bot.ext.SWTUtilExt.displayAllBotWidgets(editor.bot()); and a
sleep statement.
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java
===================================================================
---
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java 2012-10-03
14:36:24 UTC (rev 44241)
+++
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java 2012-10-03
14:44:50 UTC (rev 44242)
@@ -253,6 +253,11 @@
private void addService(String name) {
SWTBotEditor editor = getEditor();
+
+ bot.sleep(30000l);
+ org.jboss.tools.ui.bot.ext.SWTUtilExt.displayAllBotWidgets(editor.bot());
+
+
SWTBotTreeItem services = SWTEclipseExt.selectTreeLocation(
editor.bot(), configFileFull, node_services);
ContextMenuHelper.prepareTreeItemForContextMenu(editor.bot().tree(),
Show replies by date