{"library":"babel-plugin-jsx-auto-test-id","type":"library","category":null,"description":"This Babel plugin (`babel-plugin-jsx-auto-test-id`) automatically injects `data-test` attributes into the root HTML elements generated by JSX components. It infers the `data-test` ID from the component's display name, providing a consistent and maintenance-free solution for E2E test selectors. The current stable version is 1.1.0. While a formal release cadence isn't published, the 1.x versioning indicates stability and ongoing support. Its key differentiator is simplifying test automation setup by eliminating the need for manual `data-test` attribute management, which is crucial for reducing flaky tests and developer overhead in projects using frameworks like React with testing tools like Cypress or Playwright.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","babel","data-test","automation","e2e tests"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-jsx-auto-test-id","imports":["{\n  \"plugins\": [\"jsx-auto-test-id\"]\n}","{\n  \"plugins\": [\n    [\"jsx-auto-test-id\", { \"attributeName\": \"data-my-custom-test-id\" }]\n  ]\n}"]},{"cmd":"yarn add babel-plugin-jsx-auto-test-id","imports":[]},{"cmd":"pnpm add babel-plugin-jsx-auto-test-id","imports":[]}],"homepage":null,"github":"https://github.com/michellocana/babel-plugin-jsx-auto-test-id","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-jsx-auto-test-id","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-jsx-auto-test-id/compatibility"}}