[seam-commits] Seam SVN: r11615 - branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Oct 23 11:47:38 EDT 2009


Author: kpiwko at redhat.com
Date: 2009-10-23 11:47:38 -0400 (Fri, 23 Oct 2009)
New Revision: 11615

Modified:
   branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewActionTest.java
   branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewFormTest.java
Log:
JBQA-2754

Modified: branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewActionTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewActionTest.java	2009-10-23 13:13:35 UTC (rev 11614)
+++ branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewActionTest.java	2009-10-23 15:47:38 UTC (rev 11615)
@@ -55,6 +55,7 @@
       String button = form + ":" + newComponent.actionMethod;
       
       browser.open(getComponentPath());
+      browser.waitForPageToLoad();
 
       assertTrue(browser.isElementPresent(FOOTER), "Footer not found.");
       assertTrue(browser.isElementPresent(form), form + " not found.");

Modified: branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewFormTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewFormTest.java	2009-10-23 13:13:35 UTC (rev 11614)
+++ branches/community/Seam_2_2/src/test/ftest/seamgen/src/main/org/jboss/seam/test/functional/seamgen/NewFormTest.java	2009-10-23 15:47:38 UTC (rev 11615)
@@ -45,6 +45,7 @@
       String value = "world";
       
       browser.open(getComponentPath());
+      browser.waitForPageToLoad();
 
       assertTrue(browser.isElementPresent(FOOTER), "Footer not found.");
       assertTrue(browser.isElementPresent(form), form + " not found.");



More information about the seam-commits mailing list