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){
Show replies by date