[
https://issues.apache.org/jira/browse/WICKET-6413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072401#comment-16072401
]
Martin Grigorov commented on WICKET-6413:
-----------------------------------------
Just to confirm: do you mean markup attribute ?
For that you can use TagTester.
> 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)