I created an UIItem extension for 'IPS\forums\Topic' class to add a data attribute
public function dataAttributes( BaseItem $item ): string
{
return "data-test";
}
In the Classic layout, you might see something like this in the template:
<li data-ips-hook="topicRow".... data-test>
But when using Snippet layout for , there is no "data-test"