Closed kowalczyka closed 4 years ago
There seems to be an issue with RichFaces and BootsFaces compatibility, even adding empty
Hi @farmakiG @mchudy-fujitsu is right here. Looks that these controls are missing some adaption for bootsfaces. Do you have any replacement idea? Since this is a UI test blocker, any workaround to overcome that could be appreciated.
A workaround would be to remove the Richfaces namespace: xmlns:rich="http://richfaces.org/rich", in the pages with b:selectOneMenu where Richfaces is not used.
I tried to remove this namespace with no success still, the same error appears. The current testing issue is caused by selenium not allowing any JavaScript related exceptions to appear, the possible workaround is ignoring JavaScript exceptions in selenium which will allow tests to run. I will look into finding is there is a way to ignore specific exceptions.
Version Info Latest
Describe the bug After latest UI changes, some of related UI tests are failing with:
com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "RichFaces" is not defined.
How to Reproduce Steps to reproduce the behavior:
Observed behavior Tests are failing with descibed exception
Expected behavior Tests are passing
Additional context The tests were passing before following changes: https://github.com/servicecatalog/oscm/commit/d4e78523bc05e13b7a7c442dba69a9da22b915fe
Related Jenkins job: http://10.140.16.80:8080/view/Docker_OSCM/job/OSCM_Integration_Tests_Upgrade/