Skip to content

test(docs-infra): Correct an invalid assumption regarding FormControl in aio tests. - #44479

Closed
dylhunn wants to merge 1 commit into
angular:masterfrom
dylhunn:update-aio-e2e-test
Closed

dylhunn wants to merge 1 commit into
angular:masterfrom
dylhunn:update-aio-e2e-test

Conversation

@dylhunn

@dylhunn dylhunn commented Dec 14, 2021 •

Copy link
Copy Markdown
Contributor

The aio application expects FormControl to have no properties for the purposes of its own internal tests, but this is no longer true after #44434.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe: Test fix

What is the current behavior?

a.io expects FormControl will have no properties as part of its own internal tests.

Issue Number: N/A

What is the new behavior?

a.io uses AsyncValidator instead, which actually has no properties.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@dylhunn
dylhunn marked this pull request as ready for review December 14, 2021 18:09
@pullapprove
pullapprove Bot requested a review from alxhub December 14, 2021 18:10
@dylhunn dylhunn changed the title test(aio): Correct an invalid assumption regarding FormControl in aio tests. test(docs-infra): Correct an invalid assumption regarding FormControl in aio tests. Dec 14, 2021
@dylhunn
dylhunn force-pushed the update-aio-e2e-test branch from 5fe23b6 to be59d55 Compare December 14, 2021 18:16
@dylhunn
dylhunn requested review from JoostK, gkalpak and josephperrott and removed request for JoostK December 14, 2021 18:17
@ngbot ngbot Bot added this to the Backlog milestone Dec 14, 2021

@josephperrott josephperrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@dylhunn
dylhunn removed request for alxhub and gkalpak December 14, 2021 18:19
@dylhunn dylhunn added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Dec 14, 2021
Comment thread aio/tests/e2e/src/api-pages.e2e-spec.ts Resolved
@AndrewKushnir AndrewKushnir added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Dec 14, 2021
@AndrewKushnir

Copy link
Copy Markdown
Contributor

@dylhunn FYI I've added the "cleanup" label based on the comment from Joost above.

@dylhunn
dylhunn force-pushed the update-aio-e2e-test branch from be59d55 to aa48d3d Compare December 14, 2021 18:58
@dylhunn dylhunn removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Dec 14, 2021
@dylhunn

dylhunn commented Dec 14, 2021

Copy link
Copy Markdown
Contributor Author

I have removed this test entirely, as Joost suggested above.

Comment thread aio/tests/e2e/src/api-pages.e2e-spec.ts Resolved
@gkalpak gkalpak added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: merge The PR is ready for merge by the caretaker labels Dec 14, 2021
@gkalpak

gkalpak commented Dec 14, 2021

Copy link
Copy Markdown
Member

Sorry for the back and forth, @dylhunn, but I've added the cleanup label again (based on my comment above) 😇

The aio application expects `FormControl` to have no properties for the purposes of its own internal tests, but this is no longer true after angular#44434.
@dylhunn
dylhunn force-pushed the update-aio-e2e-test branch from aa48d3d to 2f48e86 Compare December 14, 2021 19:43
@dylhunn

dylhunn commented Dec 14, 2021

Copy link
Copy Markdown
Contributor Author

OK @gkalpak, I went ahead and added it back.

@dylhunn dylhunn added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Dec 14, 2021

@gkalpak gkalpak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thx, @dylhunn 🚀

@alxhub

alxhub commented Dec 14, 2021

Copy link
Copy Markdown
Member

This PR was merged into the repository by commit 4aa6965.

@alxhub alxhub closed this in 4aa6965 Dec 14, 2021
alxhub pushed a commit that referenced this pull request Dec 14, 2021
The aio application expects `FormControl` to have no properties for the purposes of its own internal tests, but this is no longer true after #44434.

PR Close #44479
@dylhunn
dylhunn deleted the update-aio-e2e-test branch December 14, 2021 23:06
@angular-automatic-lock-bot

Copy link
Copy Markdown

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 Jan 14, 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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants