Author: ldimaggio
Date: 2012-10-03 14:27:53 -0400 (Wed, 03 Oct 2012)
New Revision: 44261
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java
Log:
Found a way to activate the editor - just a save() and a show()
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
18:07:26 UTC (rev 44260)
+++
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java 2012-10-03
18:27:53 UTC (rev 44261)
@@ -167,27 +167,15 @@
/* Add service is failing on Jenkins - ldimaggi */
SWTBotEditor editor = getEditor();
- log.error("Actions Editor is active = " + editor.isActive());
- bot.sleep(30000l);
- log.error(editor.getTitle());
- editor.save();
- editor.show();
-
-
-
if (!editor.isActive()) {
-
- try {
- bot.shell(configFileFull).activate();
+ log.error("Actions Editor is active? = " + editor.isActive());
bot.sleep(30000l);
- log.error("Actions Editor is active = " + editor.isActive());
- }
- catch (Exception e) {
- log.error("Cannot activate editor");
- e.printStackTrace();
- }
+ log.error(editor.getTitle());
+ editor.save();
+ editor.show();
+ log.error("Actions Editor is active? = " + editor.isActive());
}
-
+
addService(service);
String[] actionPath = new String[] { configFileFull, node_services,
"bbb", "Actions" };
Show replies by date