A data-testid
attribute should be included for every testable element. Testable elements are defined as elements which the user interacts with or which has dynamically changing content.
<MyComp data-testid={...}>
{namespace}.{nav item}.{page component}.[distinguisher]