Describe the enhancement or change
A clear and concise description of the request. What is the expected outcome?
I noticed that through this search, there were a few instances of components using data-test-id instead of the conventional data-testid. We want to test these component implementations (for instance, here) through a mock Cypress test, and use our native findByTestId method, which targets the latter selector, not the former. I suspect that there are two ways this can be done:
- Allow props so that the user can add their own test id
- Change the current selector to
data-testid.
Is this request originating from a Red Hat product team? If so, which ones and is there any sort of deadline for this enhancement?
Yes, from the Dashboard Team, however, there is low priority
Any other information?
Jira Issue: PF-4123
Describe the enhancement or change
A clear and concise description of the request. What is the expected outcome?
I noticed that through this search, there were a few instances of components using
data-test-idinstead of the conventionaldata-testid. We want to test these component implementations (for instance, here) through a mock Cypress test, and use our nativefindByTestIdmethod, which targets the latter selector, not the former. I suspect that there are two ways this can be done:data-testid.Is this request originating from a Red Hat product team? If so, which ones and is there any sort of deadline for this enhancement?
Yes, from the Dashboard Team, however, there is low priority
Any other information?
Jira Issue: PF-4123