How to test Tooltip?

Hi there :slight_smile:

I am trying to write a automated test for a component where I have a tooltip. I want to check that the tooltip is displayed when hovering over the element. Unfornutaley I am not able to get this to run. I am using the react testing-library with the userEvents to simulate the hover of the element, but the tooltip content is not added to the dom. Can anyone help me?

Codesandbox with simple test: keen-brattain-35q1k - CodeSandbox

Kind regards, Nick