Author: nbelaevski
Date: 2009-09-19 11:30:22 -0400 (Sat, 19 Sep 2009)
New Revision: 15634
Modified:
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
CalendarTest fixed
Modified:
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
===================================================================
---
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2009-09-19
12:56:16 UTC (rev 15633)
+++
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2009-09-19
15:30:22 UTC (rev 15634)
@@ -1789,10 +1789,10 @@
String bottomLeftPointTop = "($('" + inputDateId +
"').cumulativeOffset().top + $('" + inputDateId +
"').getHeight())";
String topRightPointLeft = "($('" + popupButtonId +
"').cumulativeOffset().left + $('" + popupButtonId +
"').getWidth())";
- String topRightPointTop = "$('" + popupButtonId +
"').cumulativeOffset().top";
+ String topRightPointTop = "$('" + inputDateId +
"').cumulativeOffset().top";
String bottomRightPointLeft = topRightPointLeft;
- String bottomRightPointTop = "($('" + popupButtonId +
"').cumulativeOffset().top + $('" + popupButtonId +
"').getHeight())";
+ String bottomRightPointTop = "($('" + inputDateId +
"').cumulativeOffset().top + $('" + inputDateId +
"').getHeight())";
testJointPoint("top-left", topLeftPointLeft, topLeftPointTop);
testJointPoint("top-right", topRightPointLeft, topRightPointTop);
Show replies by date