[richfaces-planning-issues] [JBoss JIRA] (RFPL-3999) TestJSF22FlowScopedAnnotation does not work with MyFaces

Jiří Štefek (JIRA) issues at jboss.org
Wed Sep 30 09:35:00 EDT 2015


     [ https://issues.jboss.org/browse/RFPL-3999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiří Štefek updated RFPL-3999:
------------------------------
    Description: 
Test {{TestJSF22FlowScopedAnnotation}} does not work with MyFaces.
The FlowScoped bean is reinitialized (the tab panel is switched back to first tab) after returning to the first page:
{code}
        // go to previous page, verify second tab is active, go to next page
        Graphene.guardHttp(previousPageButton).click();
        Graphene.waitGui().until().element(tabPanel.advanced().getActiveHeaderElement()).text().contains("Second tab");// fails on this line
{code}

Test can be invoked by:
{{mvn clean verify -Dbrowser=ff -Dmyfaces=true -Ptomcat-managed-8 -Dtest=TestJSF22FlowScopedAnnotation}}

  was:
Test {{TestJSF22FlowScopedAnnotation}} does not work with MyFaces.
The FlowScoped bean is reinitialized (the tab panel is switched back to first tab) after returning to the first page:
{code}
        // go to previous page, verify second tab is active, go to next page
        Graphene.guardHttp(previousPageButton).click();
        Graphene.waitGui().until().element(tabPanel.advanced().getActiveHeaderElement()).text().contains("Second tab");// fails on this line
{code}



> TestJSF22FlowScopedAnnotation does not work with MyFaces
> --------------------------------------------------------
>
>                 Key: RFPL-3999
>                 URL: https://issues.jboss.org/browse/RFPL-3999
>             Project: RichFaces Planning
>          Issue Type: Bug
>          Components: QE
>    Affects Versions: 4.5.9
>            Reporter: Jiří Štefek
>            Assignee: Jiří Štefek
>              Labels: myfaces
>
> Test {{TestJSF22FlowScopedAnnotation}} does not work with MyFaces.
> The FlowScoped bean is reinitialized (the tab panel is switched back to first tab) after returning to the first page:
> {code}
>         // go to previous page, verify second tab is active, go to next page
>         Graphene.guardHttp(previousPageButton).click();
>         Graphene.waitGui().until().element(tabPanel.advanced().getActiveHeaderElement()).text().contains("Second tab");// fails on this line
> {code}
> Test can be invoked by:
> {{mvn clean verify -Dbrowser=ff -Dmyfaces=true -Ptomcat-managed-8 -Dtest=TestJSF22FlowScopedAnnotation}}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the richfaces-planning-issues mailing list