Skip to content

Conversation

@bleroux
Copy link
Contributor

@bleroux bleroux commented Mar 15, 2024

Description

This PR migrates InputDecorator.constraints related tests to M3 and also various regression tests.

It is the sixth 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.

@github-actions github-actions bot added framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. labels Mar 15, 2024
@bleroux bleroux requested a review from justinmc March 15, 2024 14:29
@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

For more guidance, visit Writing a golden file test for package:flutter.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Changes reported for pull request #145213 at sha ea39767fc4a2016087ebf69620c9b9927aed4f61

@flutter-dashboard flutter-dashboard bot added the will affect goldens Changes to golden files label Mar 15, 2024
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 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

Could this pumpAndSettle just be pump or does it not work? And same for below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes they can be replaced, good catch. 👍
I introduced kTransitionDuration and replaced those pumpAndSettle with pump(kTransitionDuration).

Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Period here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Period.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Period.

@bleroux bleroux force-pushed the M3_tests_migration_input_decorator_constraints branch from ea39767 to bd2f95d Compare March 18, 2024 07:50
@bleroux bleroux added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 18, 2024
@auto-submit auto-submit bot merged commit 50e7f2b into flutter:master Mar 18, 2024
@bleroux bleroux deleted the M3_tests_migration_input_decorator_constraints branch March 18, 2024 12:57
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 18, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 18, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Mar 18, 2024
flutter/flutter@7c860dd...f217fc1

2024-03-18 [email protected] Roll Packages from 756dcc1 to a757073 (3 revisions) (flutter/flutter#145325)
2024-03-18 [email protected] Roll Flutter Engine from f11015e14d24 to 86de0f75606f (1 revision) (flutter/flutter#145322)
2024-03-18 [email protected] InputDecorator M3 tests migration - Step6 - constraints (flutter/flutter#145213)
2024-03-18 [email protected] Update `inherited_theme_test.dart`, `ink_paint_test.dart`, `ink_splash_test.dart`, `opacity_test.dart` for Material 3 (flutter/flutter#144013)
2024-03-18 [email protected] Roll Flutter Engine from eac9db75f902 to f11015e14d24 (2 revisions) (flutter/flutter#145321)
2024-03-18 [email protected] Roll Flutter Engine from aebc0021cd18 to eac9db75f902 (1 revision) (flutter/flutter#145308)
2024-03-18 [email protected] Roll Flutter Engine from 89c775963926 to aebc0021cd18 (1 revision) (flutter/flutter#145305)
2024-03-18 [email protected] Roll Flutter Engine from 5c31faa15ab7 to 89c775963926 (1 revision) (flutter/flutter#145303)
2024-03-17 [email protected] Roll Flutter Engine from 4c420dd2dfd9 to 5c31faa15ab7 (2 revisions) (flutter/flutter#145294)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
auto-submit bot pushed a commit that referenced this pull request Mar 29, 2024
## 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.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 14, 2024
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. will affect goldens Changes to golden files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants