Author: ldimaggio
Date: 2012-06-21 13:17:16 -0400 (Thu, 21 Jun 2012)
New Revision: 42148
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/action/Notifier.java
Log:
Uncommented test for
https://issues.jboss.org/browse/JBDS-2167
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/action/Notifier.java
===================================================================
---
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/action/Notifier.java 2012-06-21
16:57:16 UTC (rev 42147)
+++
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/editor/action/Notifier.java 2012-06-21
17:17:16 UTC (rev 42148)
@@ -101,16 +101,13 @@
xpathOrig+="/target[@auth='LDAP' and @class='NotifyEmail' and
@from='a' and @host='redhat.com' and @sendTo='b' and
@subject='c' and @password='thepas$w0rd' and @port='25' and
@ccTo='The copier' and @message='The message' and
@username='QEuser']";
Assertions.assertXmlContentExists(editor.toTextEditor().getText(), xpathOrig);
-
/* Comment out due to -
https://issues.jboss.org/browse/JBDS-2167 */
bot.button("&Add...").click();
SWTBotTreeItem [] theItems = bot.tree().getAllItems();
-
- theItems[0].getNode("resources.jar").expand();
- theItems[0].getNode("resources.jar").getNode("META-INF").expand();
- theItems[0].getNode("resources.jar").getNode("META-INF").getNode("MANIFEST.MF").select();
+ theItems[0].getNode("esbcontent").expand();
+ theItems[0].getNode("esbcontent").getNode("META-INF").expand();
+ theItems[0].getNode("esbcontent").getNode("META-INF").getNode("jboss-esb.xml*").select();
bot.button("&Finish").click();
-
editor.save();
}