Add a data-testid attribute to a tag
with_test_id.RdThis function adds a data-testid attribute to a shiny tag. This is useful for testing with getByTestId in Playwright.
with_test_id.RdThis function adds a data-testid attribute to a shiny tag. This is useful for testing with getByTestId in Playwright.