Author: Alex.Kolonitsky
Date: 2009-06-10 10:15:43 -0400 (Wed, 10 Jun 2009)
New Revision: 14581
Modified:
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/main/webapp/pages/componentControl/componentControlWithDisabledDefault.xhtml
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComponentControlTest.java
Log:
rich:componentControl: disableDefault attribute not work
https://jira.jboss.org/jira/browse/RF-5607
Modified:
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/main/webapp/pages/componentControl/componentControlWithDisabledDefault.xhtml
===================================================================
(Binary files differ)
Modified:
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComponentControlTest.java
===================================================================
---
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComponentControlTest.java 2009-06-10
13:40:11 UTC (rev 14580)
+++
branches/community/3.3.X/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComponentControlTest.java 2009-06-10
14:15:43 UTC (rev 14581)
@@ -114,7 +114,6 @@
renderPage(template);
initIds(getParentId());
-
//check operations show and hide for modal panel working
asserPanel(false);
clickById(panelShowLinkId);
@@ -129,10 +128,8 @@
}
}
- @Test(groups=FAILURES_GROUP)
+ @Test
public void testDisableDefaultAttribute(Template template) {
- //Not working:
https://jira.jboss.org/jira/browse/RF-5607 - waiting for fix
-
renderPage(TEST_COMPONENT_CONTROL_WITH_DISABLE_DEFAULT, template, null);
initIds(getParentId());
@@ -140,13 +137,13 @@
//attach to in same naming container
asserPanel(false);
- clickCommandAndWait(panelShowLinkId);
+ clickById(panelShowLinkId);
asserPanel(true);
clickById(panelHideLinkId);
//attach to in another naming container
asserPanel(false);
- clickCommandAndWait(panelSecondShowLinkId);
+ clickById(panelSecondShowLinkId);
asserPanel(true);
clickById(panelHideLinkId);
}