мышь за шутку
fireEvent.mouseOver(screen.getByText('bottomLeft'));
await waitFor(() => screen.getByTestId('dropdown-menu'))
Taken from: https://stackoverflow.com/a/64796558
Powerful Peafowl