Defining test-id attribute for the input element provided by the forgeUI kit select component

Hi,
Can I set a test-id attribute for the input element that the forge UI kit select component provides to be able to test with cypress.io/selenium tools?

1 Like

Hey @GkeKaraduman ! Thanks for reaching out.

Unfortunately at the moment UIKit components do not provide a way to inject custom html attributes to their elements. Similarly we cannot recommend a bulletproof way to programmatically attach the required html attributes via DOM manipulations.

If this is a feature that you would like to see I would encourage you to create a ticket on our Community Board describing your problem faced and the feature you are requesting.

Sorry I could not be of more help.

Matthew