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

InputDecorator M3 tests migration - prefixIcon/suffixIcon #149437

Conversation

bleroux
Copy link
Contributor

@bleroux bleroux commented May 31, 2024

Description

This PR adds several tests tp check M3 specification compliance for InputDecorator.prefixIcon and InputDecorator.suffixIcon.

This is somewhat repetitive but it helped me to catch several styling and positionning issues, I added TODOs because I will file the fixes once this PR is merged (just in case the fixes break some Google tests).

Related Issue

Part of #139076

@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. labels May 31, 2024
@bleroux bleroux requested a review from justinmc May 31, 2024 20:07
Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

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

LGTM 👍 . Thanks for migrating all of these. I'm a fan of the small, focused tests like you wrote. It makes it easier to track down what's wrong when there's a failure.

@bleroux
Copy link
Contributor Author

bleroux commented May 31, 2024

LGTM 👍 . Thanks for migrating all of these. I'm a fan of the small, focused tests like you wrote. It makes it easier to track down what's wrong when there's a failure.

Exactly! I had to go through failures on very very long tests and it was painful (for instance, having to fix several failures before reaching the one that was really interesting). So when possible I try to keep the scope as narrow as possible.

@bleroux bleroux added the autosubmit Merge PR when tree becomes green via auto submit App label May 31, 2024
@auto-submit auto-submit bot merged commit df17f36 into flutter:master May 31, 2024
72 checks passed
@bleroux bleroux deleted the M3_tests_migration_input_decorator_prefix_suffix branch June 3, 2024 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants