Author: lfryc(a)redhat.com
Date: 2010-09-09 06:33:24 -0400 (Thu, 09 Sep 2010)
New Revision: 19140
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractComponentAttributes.java
Log:
checkbox attributes fixed - needs to fire CHANGE event to apply
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractComponentAttributes.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractComponentAttributes.java 2010-09-09
10:07:04 UTC (rev 19139)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/AbstractComponentAttributes.java 2010-09-09
10:33:24 UTC (rev 19140)
@@ -21,6 +21,7 @@
*******************************************************************************/
package org.richfaces.tests.metamer.ftest;
+import org.jboss.test.selenium.dom.Event;
import org.jboss.test.selenium.framework.AjaxSelenium;
import org.jboss.test.selenium.framework.AjaxSeleniumProxy;
import org.jboss.test.selenium.locator.AttributeLocator;
@@ -71,6 +72,7 @@
}
protected void applyCheckbox(ElementLocator<?> locator, boolean checked) {
- guardHttp(selenium).check(locator, checked);
+ selenium.check(locator, checked);
+ guardHttp(selenium).fireEvent(locator, Event.CHANGE);
}
}
Show replies by date