Author: dsvyatobatsko
Date: 2008-10-30 11:43:41 -0400 (Thu, 30 Oct 2008)
New Revision: 10985
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java
Log:
https://jira.jboss.org/jira/browse/RF-4743
https://jira.jboss.org/jira/browse/RF-4744
https://jira.jboss.org/jira/browse/RF-4745
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java 2008-10-30
15:31:35 UTC (rev 10984)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java 2008-10-30
15:43:41 UTC (rev 10985)
@@ -97,6 +97,22 @@
tester.testRendered();
}
+ @Test
+ public void testAjaxSingle(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESTART_RESET);
+ writeStatus("Test ajaxSingle attribute");
+ tester.testAjaxSingle();
+ }
+
+ @Test
+ public void testAjaxSingleWithInternalValidationFailed(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, RESTART_RESET);
+ writeStatus("Test ajaxSingle attribute in case of invalid children
state");
+ tester.testAjaxSingleWithInternalValidationFailed();
+ }
+
@Override
public void sendAjax() {
delay(1500);