Author: andrei_exadel
Date: 2008-12-10 14:27:44 -0500 (Wed, 10 Dec 2008)
New Revision: 11713
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
/RF-5233
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-10
19:05:21 UTC (rev 11712)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-10
19:27:44 UTC (rev 11713)
@@ -269,6 +269,25 @@
}
@Test
+ public void testLinitToListAttribute(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ calendarId = tester.getClientId(AutoTester.COMPONENT_ID, template);
+ calendarHeaderId = calendarId + "Header";
+ tester.testLimitToList();
+ }
+
+ @Test
+ public void testReRenderAttribute(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESET_METHOD);
+ calendarId = tester.getClientId(AutoTester.COMPONENT_ID, template);
+ calendarHeaderId = calendarId + "Header";
+ currentDateHeaderXpath =
"//td[@id='"+calendarHeaderId+"']/table/tbody/tr/td[3]/div";
+ tester.testReRender();
+ }
+
+ @Test
public void testConverterAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
@@ -771,7 +790,7 @@
AssertPresent(weeksBarId, "Weeks bar is not present");
}
- @Test
+ @Test
public void testShowInput(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -885,7 +904,7 @@
Assert.assertFalse(isVisible(todayControlXpath), "Control 'Today'
has to be hidden");
}
- @Test
+ @Test
public void buttonRelatedAttributesTest(Template template) {
renderPage(BUTTON_RELATED_TEST_URL, template, null);
writeStatus("Check button-related attributes");
@@ -961,4 +980,9 @@
public void changeValue() {
changeDate();
}
+
+ @Override
+ public void sendAjax() {
+ changeCurrentDate(true);
+ }
}
Show replies by date