[richfaces-issues] [JBoss JIRA] Commented: (RF-8026) Selenium: create compatibility layer checking standard components' conditions

Lukas Fryc (JIRA) jira-events at lists.jboss.org
Thu Nov 5 04:18:17 EST 2009


    [ https://jira.jboss.org/jira/browse/RF-8026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12493254#action_12493254 ] 

Lukas Fryc commented on RF-8026:
--------------------------------

Nick, can you sent me necessary modifications of richfaces-demo as a patch?

I wasnt able to built it locally with my modifications.

=====

I built richfaces-demo using following process:

- changed javax.faces:{api,impl}:1.2_12 to com.sun.faces:{api,impl}:2.0.0-SNAPSHOT
- added DISABLE_FACELET_JSF_VIEWHANDLER context-param to web.xml
- facelets versions stays remained 1.1.15.B1

* I ran built war at tomcat6 and it fails to load mojarra 2.0.0 (loads mojarra 1.2_12 instead) because there stayed both of lib versions in war

* I tried to remove the libs from war and this configuration initializies properly (mojarra 2.0.0 initialized), but following error occured (stacktrace attached) when trying to access context-root /richfaces-demo-tomcat6:

/templates/include/components-group.xhtml: Property 'current' not found on type org.ajax4jsf.component.html.HtmlAjaxRepeat

> Selenium: create compatibility layer checking standard components' conditions 
> ------------------------------------------------------------------------------
>
>                 Key: RF-8026
>                 URL: https://jira.jboss.org/jira/browse/RF-8026
>             Project: RichFaces
>          Issue Type: Task
>          Components: functional-tests, JSF 2.0
>    Affects Versions: 3.3.3.BETA1
>            Reporter: Nick Belaevski
>            Assignee: Lukas Fryc
>             Fix For: 3.3.3.BETA1
>
>
> After upgrade from JSF 1.2 to 2.0 it appeared, that checks for standard components (e.g. existence of generated Faces messages) are not working properly due to changes in JSF renderers.
> I'd suggest to create separate project that will contain base check methods compatible with both JSF 1.2 and 2.0 and use it for all functional tests. It can be even covered by unit tests running Selenium tests in HtmlUnit environment (Selenium reference card from DZone refers to this as a means of tests execution speed optimization)  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list