[ 
https://issues.apache.org/jira/browse/WICKET-6397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048949#comment-16048949
 ] 

Andrea Del Bene commented on WICKET-6397:
-----------------------------------------

it can be added 
[here|https://ci.apache.org/projects/wicket/guide/8.x/single.html#_testing_the_response]
 where we already talk about testing the response.

> WicketTester should take resulting HTTP status into account
> -----------------------------------------------------------
>
>                 Key: WICKET-6397
>                 URL: https://issues.apache.org/jira/browse/WICKET-6397
>             Project: Wicket
>          Issue Type: Improvement
>            Reporter: Kamil
>            Assignee: Andrea Del Bene
>            Priority: Minor
>
> WicketTester in addition to current method:
> {code}
> public void assertRenderedPage(Class<? extends Page> 
> expectedRenderedPageClass)
> {code}
> should provide two additional ones:
> {code}
> public void assertRenderedPage(Class<? extends Page> 
> expectedRenderedPageClass, int httpStatus)
> {code}
> and
> {code}
> public void assertRenderedPageStatus(int httpStatus)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to