title: Ant Design and React Testing Library
body: <p>I have recently started using Ant Deisgn and really enjoyed working with it.</p>
  
  <p>However I seem to have stumble upon an issue that I am having a hard time solving.</p>
  
  <p>Using react-testing-library for tests, I am having troubles with testing some Ant Design component.</p>
  
  <p>One of the reason is that for some unknown reason some components (e.g. Menu, Menu.Item, Dropdown, etc) do not render the custom attribute <code>data-testid</code> thus making impossible to target a specific element of the DOM.</p>
  
  <p>This makes the tests less performant and accurate.</p>
  
  <p>Did some else stumble upon the same issue ?
  How did you go about solving this ?</p>
  
  <p>Is there something that can be done by the Ant Design team about this issue ?</p>