-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
fix(material-experimental): unit tests getting wrong root element and add API for getting property value #16706
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The propertyValue
method is similar to what I did in the input harness (ae96075) but it's better to have it in a separate PR. LGTM
This comment has been minimized.
This comment has been minimized.
7889ec7
to
06b0d0a
Compare
re-apply merge ready after comments are resolved |
Commenting here for posterity: decided in the team meeting to do separate methods for attributes and properties with no fallbacks |
2c2757f
to
8dd52a8
Compare
0cb3c82
to
b12ed29
Compare
… add API for getting property value Based on the discussion in angular#16697 (comment), these changes fix a couple of things that I ran into while doing the `mat-autocomplete` test harness in angular#16620. * Fixes querying for elements outside the harness not working, because the wrong root node was set. * Adds an API to retrieve the value of a property on a DOM node.
b12ed29
to
adb5881
Compare
@mmalerba all the feedback has been addressed. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Based on the discussion in #16697 (comment), these changes fix a couple of things that I ran into while doing the
mat-autocomplete
test harness in #16620.Note: marking as P2, because the issue with the root node is something that'll come up every time we write a harness for an overlay-based component.