rtexelm commented on PR #27593:
URL: https://github.com/apache/superset/pull/27593#issuecomment-2022170081

   Came across the problem that `getByTestId` was not finding `data-testid` but 
will find `data-test`. There is an override I found 
[here](https://testing-library.com/docs/queries/bytestid/) but I couldn't find 
it utilized in the codebase. I did find this in `babel.config.js`:
   
   ```json
   production: {
         plugins: [
           [
             'babel-plugin-jsx-remove-data-test-id',
             {
               attributes: 'data-test',
             },
           ],
         ],
       },
   ```
   Does this make sense for the substitution during testing?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to