Skip to content

Add Text component RNTester page treedump tests. #7735

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

Merged
merged 2 commits into from
May 14, 2021

Conversation

rectified95
Copy link
Contributor

@rectified95 rectified95 commented May 6, 2021

  • Adding a dump test of the Text component page in RNTester.
  • Removing LegacyTextBackgroundColorTest, as this is now included in the dump of the entire page.

Direct motivation for this is to test a small change to the text transform algorithm I'm making - once this is checked in, we'll be sure that PR won't break things.
I've been meaning to add tests for all view managers - this is the start of that. It will probably involve a modification to visitAllPages so that it dumps VM pages.

Microsoft Reviewers: Open in CodeFlow

@rectified95 rectified95 requested a review from a team as a code owner May 6, 2021 00:57
@rectified95 rectified95 requested a review from NickGerleman May 6, 2021 00:58
@rectified95 rectified95 changed the title Add text test Add Text component page treedump test. May 6, 2021
@rectified95 rectified95 changed the title Add Text component page treedump test. Add Text component RNTester page treedump test. May 6, 2021
@rectified95 rectified95 changed the title Add Text component RNTester page treedump test. Add Text component RNTester page treedump tests. May 13, 2021
@rectified95
Copy link
Contributor Author

@NickGerleman Let me know if is this more like what you had in mind :)

@rectified95 rectified95 requested a review from a team May 14, 2021 07:41
Copy link
Collaborator

@NickGerleman NickGerleman left a comment

Choose a reason for hiding this comment

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

Looks great!

@rectified95 rectified95 merged commit 5ebc3ef into microsoft:master May 14, 2021
@rectified95 rectified95 linked an issue May 17, 2021 that may be closed by this pull request
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build visual tree compare tests that iterate over RNTester pages
2 participants