-
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
docs-bug(button): Missing documentation for MatButtonHarness with() static function #20270
Comments
Lumping this in but can file a new bug if needed. https://material.angular.io/components/button/api#ButtonHarnessFilters states that there is a I guess superclasses/inheritance isn't parsed when generating this doc? |
@devversion do we extract API docs for static methods? |
Exposes information about static members/properties in the API docs. Fixes angular#20270.
Exposes information about static members/properties in the API docs. Fixes angular#20270.
Exposes information about static members/properties in the API docs. Fixes #20270.
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. |
Documentation Feedback
https://material.angular.io/components/button/api#MatButtonHarness
There is a static
with()
function that lets you find the right instance of mat-button on the page, yet this documentation doesn't support it.https://material.angular.io/guide/using-component-harnesses states
You can also use the static with method implemented on all Angular Material component harnesses. This method creates a HarnessPredicate, an object that filters loaded harnesses based on the provided constraints. The particular constraint options vary depending on the harness class, but all harnesses support at least:
The docs for the
with()
function should exist on the Harness docs page as well, and not on this random guide.Here is the function I am talking about:
https://github.com/angular/components/blob/master/src/material/button/testing/button-harness.ts#L34
The text was updated successfully, but these errors were encountered: