Author: jjankovi
Date: 2012-03-22 19:30:11 -0400 (Thu, 22 Mar 2012)
New Revision: 39783
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/uiutils/EditorResourceHelper.java
Log:
small fix
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/uiutils/EditorResourceHelper.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/uiutils/EditorResourceHelper.java 2012-03-22
23:29:00 UTC (rev 39782)
+++
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/uiutils/EditorResourceHelper.java 2012-03-22
23:30:11 UTC (rev 39783)
@@ -167,10 +167,10 @@
explorerBase.selectTreeItem(file, sourceFolder.split("/"));
bot.menu(IDELabel.Menu.FILE).menu(IDELabel.Menu.MOVE).click();
- bot.waitForShell(IDELabel.Shell.MOVE_RESOURCES);
+ bot.waitForShell(IDELabel.Shell.MOVE);
- SWTBotTree tree = bot.tree();
- tree.collapseNode(sourceFolder.split("/")[0]);
+ SWTBotTree tree = bot.activeShell().bot().tree();
+ tree.collapseNode(destFolder.split("/")[0]);
TreeHelper.expandNode(bot, destFolder.split("/")).select();
Show replies by date