Skip to content
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

feat(material/slide-toggle): Add disabled predicate to MatSlideToggleHarness #24761

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

richieforeman
Copy link
Contributor

  • Add disabled predicate to MatSlideToggleHarness

Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good addition, just needs a few small things:

  • Make a similar change to the mdc-based harness (they're separate implementations)
  • Add a unit test to slide-toggle-harness.spec.ts (we have separate component tests and component harness tests)
  • Run yarn approve-api slide-toggle to update the public API gold

@richieforeman richieforeman requested a review from crisbeto as a code owner April 11, 2022 23:23
@richieforeman
Copy link
Contributor Author

richieforeman commented Apr 11, 2022

Good addition, just needs a few small things:

  • Make a similar change to the mdc-based harness (they're separate implementations)

DONE

  • Add a unit test to slide-toggle-harness.spec.ts (we have separate component tests and component harness tests)

DONE

  • Run yarn approve-api slide-toggle to update the public API gold

DONE, .. I think?. This didn't appear to do anything interesting.

Update: I figured it out now ;P

@richieforeman richieforeman force-pushed the rf/slide-toggle-harness branch 3 times, most recently from 317f07a to 4cef1b3 Compare April 11, 2022 23:46
@richieforeman richieforeman force-pushed the rf/slide-toggle-harness branch from 4cef1b3 to 3f0b534 Compare April 12, 2022 13:23
…leHarness

- Add `disabled` predicate to MatMdcSlideToggleHarness

- Update tests for new `disabled` predicate

- Update golden
@richieforeman richieforeman force-pushed the rf/slide-toggle-harness branch from 3f0b534 to 2d96925 Compare April 12, 2022 13:30
@richieforeman richieforeman requested a review from crisbeto April 12, 2022 13:31
Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Apr 12, 2022
@amysorto amysorto merged commit 5846195 into angular:master Apr 12, 2022
@richieforeman richieforeman deleted the rf/slide-toggle-harness branch April 15, 2022 14:18
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants