Hi,
We manage to integration test our application with a succession of new FacesRequest().run();
We would like to add some navigation test to it.
If we have:
<pages login-view-id="/login.xhtml"> <page view-id="/*" login-required="true"> <navigation> <render view-id="foo.xhtml"/> </navigation> </page> </pages>
new NonFacesRequest("/foo.xhtml") {
@Override
protected void renderResponse() throws Exception {
assert "login.xhtml".equals(getRenderedViewId());
}
}.run();
There is no support for testing navigation in SeamTest (there is no MockNavigationHandler implementation). File a feature request in JIRA.