Skip to content

bug(COMPONENT): Tooltip not displaying on hover in headless/browser automation environment Ubuntu #31432

Closed
@mayur-subhedar

Description

@mayur-subhedar

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 . In windows chrome headless it is working fine but not on Ubuntu. And there is no issue with Test env setup. Please try to test you tooltips in headless mode of chrome browser on Ubuntu it will 100 % fail. I have raise same bug 2 days back but without triage it got closed

Previous bug: 31384

Reproduction

StackBlitz link:
Steps to reproduce:

  1. Required OS and browser (Ubuntu+Chrome Headless)
  2. Run automation script (Java+selenium) to validate tooltip on button by hovering on it
  3. Script will fail as tooltip will not appear
    Page used to validate
    https://material.angular.dev/components/tooltip/overview

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions