-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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(button): complete ripple when button becomes disabled #4372
fix(button): complete ripple when button becomes disabled #4372
Conversation
586ea8a
to
038f355
Compare
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.
Overall LGTM. Thanks
|
||
anchorDebugElement = fixture.debugElement.query(By.css('a[md-button]')); | ||
anchorRippleDebugElement = anchorDebugElement.query(By.directive(MdRipple)); | ||
anchorRippleInstance = anchorRippleDebugElement.injector.get<MdRipple>(MdRipple); |
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.
Do we really need to set the generic type here?
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.
Getting directive instances was new to me, so I copied it from other material tests (radios, checkboxes, button-toggles, and sliders all use generic types for injector.get()
)
Happy to remove if you want
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.
It's alright if other tests do it :)
Looks like the tests aren't happy with you, can you see what's up? |
038f355
to
56e7c8f
Compare
@andrewseguin they're passing again after rebase |
@jelbourn can |
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.
LGTM
One project has some failing e2e tests with this change, not quite sure why yet |
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. |
Fixes #4364