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