[
https://issues.apache.org/jira/browse/WICKET-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Łukasz Ludwa updated WICKET-6475:
---------------------------------
Description:
In my wicket tests I often use:
{code:java}
wicketTester.clickLink(pageLink);
wicketTester.assertRenderedPage(Page.class);
{code}
I would like to have possibility to check if transition to page given in link
was successfull, but without rendering all elements. I just want to test the
transition, because proper rendering of page components should be tested in
separate test.
In my opinion adding additional method, which will be checking such transition
without rendering whole page would be very helpful:
{code:java}
wicketTester.assertTransition(Link, Page.class);
{code}
was:
> clickLink() from tester should have option without rendering page
> -----------------------------------------------------------------
>
> Key: WICKET-6475
> URL: https://issues.apache.org/jira/browse/WICKET-6475
> Project: Wicket
> Issue Type: Task
> Affects Versions: 8.0.0-M6
> Reporter: Łukasz Ludwa
>
> In my wicket tests I often use:
> {code:java}
> wicketTester.clickLink(pageLink);
> wicketTester.assertRenderedPage(Page.class);
> {code}
> I would like to have possibility to check if transition to page given in link
> was successfull, but without rendering all elements. I just want to test the
> transition, because proper rendering of page components should be tested in
> separate test.
> In my opinion adding additional method, which will be checking such
> transition without rendering whole page would be very helpful:
> {code:java}
> wicketTester.assertTransition(Link, Page.class);
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)