Better Test Selectors Leveraging the Complete Ember Toolbelt
summary
An addon called ember-test-selectors provides attribute-based selectors that auto-binds to component root so templates can use data-test- without manual attributeBindings; it removes those attributes for production by injecting a Babel plugin and an HTMLBars AST transform that strips from production. The addon installs with no config, keeps tests stable across styling changes, and works today; Glimmer apps are not supported yet and require additional adapter work.
AI-written summary · about
