-
Notifications
You must be signed in to change notification settings - Fork 28.8k
InputDecorator M3 tests migration - Step5 - Helper/Counter/Error #144932
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 - Step5 - Helper/Counter/Error #144932
Conversation
@justinmc I added some TODO for values that are not compliant with the M3 spec. I will focus on fixing those values for my next PRs (these might be breaking changes so I did not bundle those changes with this test only PR). |
244b367
to
fcdcb59
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 No worries about the diff, it wasn't too bad. Thanks for another step in this project.
// TODO(bleroux): make the InputDecorator implementation compliant with M3 spec by changing | ||
// the helperGap to 4.0 instead of 8.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Is there an issue you could link for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a link to #144984, and currently working on a PR for it.
}); | ||
}); | ||
|
||
group('Multilines error/helper', () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nit: I would just say "Multiline" with no "s".
c8763f4
to
18a8cce
Compare
18a8cce
to
9ac7472
Compare
## Description This PR migrates `InputDecorator.constraints` related tests to M3 and also various regression tests. It is the fifth step for the M3 test migration for `InputDecorator`. Step 1: #142981 Step 2: #143369 Step 3: #143520 Step 4: #144169 Step 5: #144932 ## Related Issue Related to #139076 @justinmc A somewhat small PR, I wanted to migrate the small group related to 'InputDecoration.constraints' (starting at line 2801), it adds a test checking min interactive height and two others that shows one way to bypass the standard min interactive height.
## Description This PRs adds a test group for the input decorator container, this group is organised similarly to the M3 spec, see https://m3.material.io/components/text-fields/specs. It is step 7 for the M3 test migration for `InputDecorator`. Step 1: #142981 Step 2: #143369 Step 3: #143520 Step 4: #144169 Step 5: #144932 Step 6: #145213 ## Related Issue Related to #139076 @justinmc The diff is not very readable. The tests added by this PR are from line 298 to line 975. Other changes are due to moving some existing tests to this new 'container' group.
Description
This PR migrates
InputDecorator
helper/counter/error related tests to M3 and adds some missing tests.It is the fifth step for the M3 test migration for
InputDecorator
.Step 1: #142981
Step 2: #143369
Step 3: #143520
Step 4: #144169
Related Issue
Related to #139076
fixes #138213