-
Notifications
You must be signed in to change notification settings - Fork 6.8k
feat(cdk-experimental/testing): add support for matching selector on TestElement #16848
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
Conversation
ba9c649 to
779cac3
Compare
779cac3 to
26e6de1
Compare
|
PTAL |
|
Not merge safe since there is one team using the harness framework |
1dad3ba to
10193bd
Compare
crisbeto
left a comment
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
src/material-experimental/mdc-checkbox/harness/checkbox-harness-filters.ts
Show resolved
Hide resolved
|
CARETAKER NOTE: The tests added in this PR for |
|
I've verified that this passes presubmit, just needs review @jelbourn |
devversion
left a comment
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. Just one question.
| private _descriptions: string[] = []; | ||
|
|
||
| constructor(public harnessType: ComponentHarnessConstructor<T>) {} | ||
| constructor(public harnessType: ComponentHarnessConstructor<T>, options: BaseHarnessFilters) { |
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.
Any reason why we make the options required here? I could imagine having {} as the default.
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.
I didn't want people to forget to pass it to the super constructor, so I figured if I leave off the default they can't forget 😄
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.
Fair enough 😄
jelbourn
left a comment
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
2676c65 to
c970cb6
Compare
2c6df82 to
d6ad4c5
Compare
|
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. |
There were a couple harnesses that had an
idoption which removed. It is now unnecessary since it can be achieved through using theselectoroption.