Seam SVN: r11584 - branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium.

View: New views
1 Messages — Rating Filter:   Alert me  

Seam SVN: r11584 - branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium.

by seam-commits mailing list :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Author: mgencur@...
Date: 2009-10-14 09:01:02 -0400 (Wed, 14 Oct 2009)
New Revision: 11584

Modified:
   branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
Log:
fixed waiting time

Modified: branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java 2009-10-14 12:56:43 UTC (rev 11583)
+++ branches/enterprise/JBPAPP_5_0/src/test/ftest/examples/seambay/src/org/jboss/seam/example/seambay/test/selenium/WebServiceTestPageTest.java 2009-10-14 13:01:02 UTC (rev 11584)
@@ -42,7 +42,7 @@
 public class WebServiceTestPageTest extends SeleniumSeamBayTest
 {
       
-   protected static final Long TIMEOUT = 25000L; //25 seconds  
+   protected static final Long TIMEOUT = 35000L; //35 seconds  
    protected static final String HERE_LINK = "xpath=//a[contains(text(),\"here\")]";
    protected static final String SERVICE_PAGE_HEADING= "seamBay Web Services - Test Page";
 
@@ -93,7 +93,6 @@
       String username = "demo";
       String password = "demo";      
       browser.clickAndWait(HERE_LINK);
-      waitForElementPresent(RESPONSE_AREA, TIMEOUT);
       waitForElementPresent(LOGIN_LINK, TIMEOUT);
       browser.click(LOGIN_LINK);
       waitForElementPresent(LOGIN_INPUT_USERNAME, TIMEOUT);
@@ -273,6 +272,7 @@
          {
             return (browser.getValue(locator).length() != 0);
          }
-      }.wait("Timeout while waiting for element content."+browser.getValue(locator).length()+","+locator , timeout);
+      }.wait("Timeout while waiting for element content. Element: " + locator+ ", " + "Content length: "
+            + browser.getValue(locator).length(), timeout);
    } //waitForElementContent    
 }

_______________________________________________
seam-commits mailing list
seam-commits@...
https://lists.jboss.org/mailman/listinfo/seam-commits