Adding "data-testid" attributes to

Hello, we are using in a React application.

I have a request to:

add a datatest-id=”uniqueTableID” to the visual

instance
add a datatest-id=”uniqueDropdownID” to a htDropdownMenu that is toggled

Is this possible?

Hi @kevin.klein

Can you please provide more context to this request?

For our application our test team wants to create scripts that check for the state changes, for instance when a table renders as expected or as a specific column’s dropdown menu is toggled.

@kevin.klein

I’m still not entirely sure about your requirements, but if you want to add a custom class to our internal elements that serves only as a placeholder you can use native JS methods to apply it wherever you need.