Our app has used data-test since long before we adopted SDODS. I set it in the project file:
testIdAttribute: data-testHeal report suggests getByTestId('cart-badge') for a locator that healed. I pasted that into the page object expecting it to look for data-testid and fail. It works. I would like to understand why before I trust it in twenty other places.