You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2017/07/07 10:37:00 UTC

[jira] [Resolved] (WICKET-6413) Add convenient method for checking attributes to WicketTester

     [ https://issues.apache.org/jira/browse/WICKET-6413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-6413.
-------------------------------------
    Resolution: Not A Problem

> Add convenient method for checking attributes to WicketTester
> -------------------------------------------------------------
>
>                 Key: WICKET-6413
>                 URL: https://issues.apache.org/jira/browse/WICKET-6413
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 8.0.0-M6
>            Reporter: Jarosław
>
> WicketTester is great tool for testing component state. One can test if component is enabled/disabled, visible/invisible and others.
> Unfortunately there is a gap, because it doesn't have method for testing actual attribute value.
> Could you please provide
> {code}
> wicketTester.assertAttribute(path, attribute, expectedValue);
> {code}
> similar to wicketTester#assertMarkupStyle when one can test not only style, but any attribute?



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