Author: dsvyatobatsko
Date: 2009-02-02 08:46:50 -0500 (Mon, 02 Feb 2009)
New Revision: 12516
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/panelMenuGroup/panelMenuGroupAutoTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuGroupTest.java
Log:
https://jira.jboss.org/jira/browse/RF-5904
https://jira.jboss.org/jira/browse/RF-5907
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/panelMenuGroup/panelMenuGroupAutoTest.xhtml
===================================================================
(Binary files differ)
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuGroupTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuGroupTest.java 2009-02-02
13:14:34 UTC (rev 12515)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuGroupTest.java 2009-02-02
13:46:50 UTC (rev 12516)
@@ -15,7 +15,28 @@
tester.testRendered();
}
+ @Test
+ public void testReRenderAttribute(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test component re-renders another components");
+ tester.testReRender();
+ }
+
+ @Test
+ public void testOncomplete(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test oncomplete attribute");
+ tester.testOncomplete();
+ }
+
@Override
+ public void sendAjax() {
+ clickAjaxCommandAndWait("icon" +
getAutoTester(this).getClientId(AutoTester.COMPONENT_ID));
+ }
+
+ @Override
public String getAutoTestUrl() {
return "pages/panelMenuGroup/panelMenuGroupAutoTest.xhtml";
}