[jbosstools-commits] JBoss Tools SVN: r43851 - trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Sep 20 04:36:48 EDT 2012


Author: ljelinko
Date: 2012-09-20 04:36:48 -0400 (Thu, 20 Sep 2012)
New Revision: 43851

Modified:
   trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/OperateServerTemplate.java
Log:
Wait for the web page to appear

Modified: trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/OperateServerTemplate.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/OperateServerTemplate.java	2012-09-20 07:33:57 UTC (rev 43850)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.ui.bot.test/src/org/jboss/ide/eclipse/as/ui/bot/test/template/OperateServerTemplate.java	2012-09-20 08:36:48 UTC (rev 43851)
@@ -6,6 +6,7 @@
 
 import org.jboss.ide.eclipse.as.ui.bot.test.web.PageSourceMatcher;
 import org.jboss.tools.ui.bot.ext.SWTTestExt;
+import org.jboss.tools.ui.bot.ext.condition.TaskDuration;
 import org.jboss.tools.ui.bot.ext.matcher.console.ConsoleOutputMatcher;
 import org.jboss.tools.ui.bot.ext.view.ServersView;
 import org.junit.Test;
@@ -73,6 +74,6 @@
 	
 	private void assertWebPageContains(String string) {
 		serversView.openWebPage(configuredState.getServer().name);
-		assertThat(string, new PageSourceMatcher());
+		assertThat(string, new PageSourceMatcher(TaskDuration.NORMAL));
 	}
 }



More information about the jbosstools-commits mailing list