[seam-commits] Seam SVN: r13971 - branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Jan 6 04:44:06 EST 2011


Author: jharting
Date: 2011-01-06 04:44:06 -0500 (Thu, 06 Jan 2011)
New Revision: 13971

Modified:
   branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumDateSelector.java
Log:
JBSEAM-4753

Modified: branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumDateSelector.java
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumDateSelector.java	2011-01-05 14:32:01 UTC (rev 13970)
+++ branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumDateSelector.java	2011-01-06 09:44:06 UTC (rev 13971)
@@ -78,7 +78,7 @@
       @Override
       public void setDay(SeamSelenium browser, int day)
       {
-         String locator = "xpath=//td[@class='iceSelInpDateDay']/a[./span/text()='" + Integer.toString(day) + "']";
+         String locator = "xpath=//td[normalize-space(@class)='iceSelInpDateDay']/a[./span/text()='" + Integer.toString(day) + "']";
          browser.waitForElement(locator);
          browser.click(locator);
       }



More information about the seam-commits mailing list