I have a small panel with a form. The form sends a response to another page (not panel), when submitted.
I want to test the panel using WicketTester.startPanel():
public void testCreateStandardMessage()
I got an error on the last line:
junit.framework.AssertionFailedError: path: 'testObject:createForm:stampLabel' does not exist for page: ComposeMailPage
As you see, WicketTester still prefixes the path with "testObject:", which shouldn't be for the response page. The path to the label ("createForm:stampLabel") itself is right for the page.
The same was working in Wicket 1.4.x