[
https://issues.jboss.org/browse/RFPL-3439?page=com.atlassian.jira.plugin....
]
Matej Novotny resolved RFPL-3439.
---------------------------------
Resolution: Done
Most of the inplaceSelect tests were affected by this bug at least all the tests using
select method from fragment which did not invoke onchange event on page.
There is a workaround I implemented for InplaceSelect page fragment.
Adding a focus() to inputText while selecting an option does the trick for Firefox (and
keeps working in Chrome) - [link to
fragment|https://github.com/richfaces/richfaces/blob/470549cad4d3468b7c2f...].
All tests are now running and should not fail because of this any more.
InplaceSelect test fails due to Selenium bug
--------------------------------------------
Key: RFPL-3439
URL:
https://issues.jboss.org/browse/RFPL-3439
Project: RichFaces Planning
Issue Type: Bug
Affects Versions: 4.5.0.Beta1
Environment: FF 24ESR or later
Wildfly 8.1
Reporter: Matej Novotny
Due to a known [Selenium
bug|https://code.google.com/p/selenium/issues/detail?id=7130],
there are test failures in FF (tried with versions 24ESR and 31).
When you choose an element in inplaceSelect with {{elem.click()}} the element is selected
but no event is triggered - like onchange or onblur for instance. Therefore output field
doesn't get updated and select stays in 'active' state all the time.
I couldn't figure out a workaround (expect firing the event with JS, which makes the
test useless), so I am marking the tests as {{group=Future}} unless the bug is fixed or
another workaround found.
List of affected test methods:
* TestInplaceSelectAttributes#testClick
* TestInplaceSelectAttributes#testChangedClass
* TestInplaceSelectAttributes#testActiveClass
I will check other tests for inplaceSelect as well as rich:select tests which might have
similar problems.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)