You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Eric J. Van der Velden (JIRA)" <ji...@apache.org> on 2015/06/12 16:38:02 UTC
[jira] [Created] (WICKET-5923)
BaseWicketTester.startComponentInPage(final C component) gives problem to
BaseWicketTester.assertLabel
Eric J. Van der Velden created WICKET-5923:
----------------------------------------------
Summary: BaseWicketTester.startComponentInPage(final C component) gives problem to BaseWicketTester.assertLabel
Key: WICKET-5923
URL: https://issues.apache.org/jira/browse/WICKET-5923
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 7.0.0-M5
Reporter: Eric J. Van der Velden
@Test
public void css(){
wicketTester.startComponentInPage(new MyCssPanel("testObject"));
MockHttpServletResponse mockHttpServletResponse=wicketTester.getLastResponse();
String markup=mockHttpServletResponse.getDocument();
wicketTester.assertLabel("first", "First Label");
The last one gives an error message.Failed tests: css(my.test.own.MyCssPanel2Test): path: 'first' does not exist for page: StartComponentInPage
But I fixed it. See my patch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)