Description
WicketTester#startPanel(class<? extends Panel>) does not work with the assertions:
WicketTester tester = new WicketTester();
tester.startPanel(HelloWorldPanel.class);
tester.assertLabel("message", "Hello, World!");
Will throw an exception because "message" can't be found. In the response page the panel is added with component identifier "panel". However as a tester I expect to be able to assert the components directly without having to know what happens internally.
Attachments
Attachments
Issue Links
- is depended upon by
-
WICKET-3465 BaseWicketTester#isInvisible(String path)
- Resolved