[jbosstools-commits] JBoss Tools SVN: r42920 - branches/jbosstools-3.3.x/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Aug 8 08:46:06 EDT 2012
Author: ljelinko
Date: 2012-08-08 08:46:06 -0400 (Wed, 08 Aug 2012)
New Revision: 42920
Modified:
branches/jbosstools-3.3.x/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ServersView.java
Log:
Added wait till the shell closes when performing Add project method
Modified: branches/jbosstools-3.3.x/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ServersView.java
===================================================================
--- branches/jbosstools-3.3.x/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ServersView.java 2012-08-08 12:43:07 UTC (rev 42919)
+++ branches/jbosstools-3.3.x/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ServersView.java 2012-08-08 12:46:06 UTC (rev 42920)
@@ -322,6 +322,7 @@
shellBot.button("Add >").click();
shellBot.button("Finish").click();
shellBot.waitWhile(new NonSystemJobRunsCondition(), TaskDuration.VERY_LONG.getTimeout());
+ shellBot.waitUntil(Conditions.shellCloses(shell), TaskDuration.NORMAL.getTimeout());
}
public void removeProjectFromServer(String projectName, String serverName){
More information about the jbosstools-commits
mailing list