home/categories/frontend/dtyq-magic-frontend-magic-web-agents-skills-ui-data-testid-skill-md
frontenddevelopment

ui-data-testid

Add stable `data-testid` attributes by default for new or refactored UI components. Use when implementing React/TSX views, shadcn/antd-style components, dropdown/menu configs, or interactive UI flows that need reliable selectors for unit/E2E tests.

dtyq
maintainer
dtyq
अपडेट किया गया 3/19/2024
स्टार
4742
फोर्क
504
quick start

Installation and usage

Add stable `data-testid` attributes by default for new or refactored UI components. Use when implementing React/TSX views, shadcn/antd-style components, dropdown/menu configs, or interactive UI flows that need reliable selectors for unit/E2E tests.

इंस्टॉलेशन
$ install --globalskills.sh
उपयोग

इंस्टॉल करने के बाद, आप टर्मिनल में यह कमांड चलाकर इस स्किल का उपयोग कर सकते हैं:

skills use ui-data-testid