Skip to content

fix(material/tooltip): match panel to trigger in test harness #26779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crisbeto
Copy link
Member

The tooltip harness was written the assumption that only tooltip can be shown on the page at a time, however in tests that might not be the case. These changes add a couple of attributes so a trigger can be matched to its specific panel.

Fixes #26773.

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release labels Mar 13, 2023
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Mar 14, 2023
@crisbeto crisbeto force-pushed the 26773/tooltip-panel-id branch from 5008db0 to 8dfdb10 Compare March 20, 2023 06:48
@crisbeto crisbeto force-pushed the 26773/tooltip-panel-id branch from 8dfdb10 to 73ca6f5 Compare September 25, 2024 05:58
@crisbeto crisbeto requested a review from a team as a code owner September 25, 2024 05:58
@crisbeto crisbeto requested review from wagnermaciel and removed request for a team September 25, 2024 05:58
@crisbeto crisbeto force-pushed the 26773/tooltip-panel-id branch 2 times, most recently from df7c1f1 to dfc71a0 Compare September 25, 2024 08:34
The tooltip harness was written the assumption that only tooltip can be shown on the page at a time, however in tests that might not be the case. These changes add a couple of attributes so a trigger can be matched to its specific panel.

Fixes angular#26773.
@crisbeto crisbeto force-pushed the 26773/tooltip-panel-id branch from dfc71a0 to 2a1c419 Compare September 25, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(Tooltip): Harness returns if _any_ tooltip is open
4 participants