You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's sometimes difficult to get a selector (from ADS component) to test it (E2E/Cypress,...)...
So, is it possible to add an attribute and props with "data-cy" (for example) on each input ?
Describe the solution you would like
Add attribute "data-cy" with generic value "..." and props "prefix" and "suffix" (optionals), like :
Thanks for your feeback, but this won't be part of the design system.
It should and could be managed by the users. In most of our librairies you can pass attributes on the components
I want to propose an evolution/improvement on
Component
Description
It's sometimes difficult to get a selector (from ADS component) to test it (E2E/Cypress,...)...
So, is it possible to add an attribute and props with "data-cy" (for example) on each input ?
Describe the solution you would like
Add attribute "data-cy" with generic value "..." and props "prefix" and "suffix" (optionals), like :
In MButton.vue :
<button data-cy="prefix?-" + "-the-unique-generic-datacy-name-for-this-button-in-this-component" + "-suffix?" />
<button data-cy="prefix?-" + "-the-unique-generic-datacy-name-for-this-button-in-this-component" + "-suffix?" />
Describe the alternatives you considered
No response
Additional comments
No response
The text was updated successfully, but these errors were encountered: