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