Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Tooltip not displaying on hover in headless/browser automation environment. I tested it on chrome headless mode on UBUNTU . You can try on WSL. In windows chrome headless it is working fine but not on Ubuntu
Reproduction
StackBlitz link:
Steps to reproduce:
- Install WSL and UBUNTU or directly try on ubuntu
- Run automation script (Java+selenium) to validate tooltip on button by hovering on it
- Script will fail as tooltip will not appear
Page used to validate
https://material.angular.dev/components/tooltip/overview

This is happening with only Angular tooltips and for other tooltips it is working. Even in screenshot we can't see tooltip on hover action
Tested on ENV/OS --> Ubuntu- Chrome in headless mode
Expected Behavior
Tooltip should appear
Actual Behavior
Tooltip is not appearing. I think DOM is also not updating on hover
Environment
- Angular:
- CDK/Material:
- Browser(s): Chrome (Headless)
- Operating System (e.g. Windows, macOS, Ubuntu): Ubuntu