Kamil created WICKET-6423:
-----------------------------

             Summary: WicketTester should provide assertRenderedComponent method
                 Key: WICKET-6423
                 URL: https://issues.apache.org/jira/browse/WICKET-6423
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
            Reporter: Kamil


When I'm testing Page, I have convenient method to test if it has rendered 
successfuly:
{code}
//when
wicketTester.startPage(MyPage.class);
        
//then
wicketTester.assertRenderedPage(MyPage.class);
{code}
but when I'm testing particular component:
{code}
//given
final MyPanel panel = new MyPanel("test");

//when
wicketTester.startComponentInPage(panel);

//then
??
{code}
then I need "assertRenderedComponent(MyPanel.class) in order to test if it 
rendered successfuly



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

Reply via email to