-
Notifications
You must be signed in to change notification settings - Fork 6.8k
feat(table): add test harness #17799
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
a9bdd18
to
d5adcec
Compare
d5adcec
to
f2475cd
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.
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 talked with @andrewseguin about this for a while we we decided we want to talk about the getText
APIs at the team meeting this week
Adds a test harness for `MatTable`, as well as the related row and cell directives.
f2475cd
to
cc35d28
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.
LGTM
/** Gets the text of the cells in the row. */ | ||
async getCellTextByIndex(filter: CellHarnessFilters = {}): Promise<string[]> { | ||
return getCellTextByIndex(this, filter); | ||
} |
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 think we decided to add getCellTextByColumnName
to the row as well, but that could always be added in a follow-up
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.
Added to my list to do in a follow-up PR.
cc35d28
to
2357502
Compare
2357502
to
059ee0e
Compare
Addressed the latest set of feedback. |
Adds a test harness for `MatTable`, as well as the related row and cell directives.
059ee0e
to
a6f4c74
Compare
…in harness Follow-up from the feedback in angular#17799. Adds a `getCellTextByColumnName` to the `MatRowHarness` which aligns with what we have on the table harness.
Follow-up from the feedback in #17799. Adds a `getCellTextByColumnName` to the `MatRowHarness` which aligns with what we have on the table harness.
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. |
Adds a test harness for
MatTable
, as well as the related row and cell directives.