-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[pointer_interceptor_web] Update package APIs and tests. #5785
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
[pointer_interceptor_web] Update package APIs and tests. #5785
Conversation
/cc @mdebbar migrated the package to the new |
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.
Approved, might be worth waiting for @stuartmorgan to take a look though.
packages/pointer_interceptor/pointer_interceptor_web/example/integration_test/widget_test.dart
Outdated
Show resolved
Hide resolved
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.
Looks good, thanks for the cleanup!
The only thing I would recommend is making onElementCreated
a method so we don't keep creating a new closure on every build.
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
packages/pointer_interceptor/pointer_interceptor_web/example/integration_test/widget_test.dart
Show resolved
Hide resolved
packages/pointer_interceptor/pointer_interceptor_web/example/lib/main.dart
Show resolved
Hide resolved
packages/pointer_interceptor/pointer_interceptor_web/lib/pointer_interceptor_web.dart
Show resolved
Hide resolved
7b31df1
to
9ab2360
Compare
Rolling the 🎲 with |
auto label is removed for flutter/packages/5785, due to - The status or check suite Linux_android android_platform_tests_shard_6 master has failed. Please fix the issues identified (or deflake) before re-applying this label. |
🎲 |
Maybe the problem is that the die keeps coming up "1" 🙂 |
auto label is removed for flutter/packages/5785, due to - The status or check suite Linux_android android_platform_tests_shard_5 master has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Those dies are not to spec! RFC 1149.5 specifies 4 as the standard IEEE-vetted random number. |
My turn 🎲 🎲 🎲 🎲 🎲 🎲 (6) |
auto label is removed for flutter/packages/5785, due to - The status or check suite Linux_android android_platform_tests_shard_5 master has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Also: migrate test app to package:web.
9ab2360
to
df9e305
Compare
Removed bump to the master version, it seems other shards were breaking because of it. 🎲 |
auto label is removed for flutter/packages/5785, due to - The status or check suite Linux_android android_platform_tests_api_33_shard_2 master has failed. Please fix the issues identified (or deflake) before re-applying this label. |
flutter/packages@bbb4134...31fc7b5 2024-01-04 [email protected] bump mockito across repo to 5.4.4 (flutter/packages#5794) 2024-01-03 [email protected] [various] Sync lints with flutter/flutter (flutter/packages#5717) 2024-01-03 [email protected] [pointer_interceptor_web] Update package APIs and tests. (flutter/packages#5785) 2024-01-03 [email protected] [google_sign_in] Correct method channel `clearAuthCache` declaration (flutter/packages#5787) 2024-01-03 [email protected] [google_sign_in] Correct clearAuthCache declarations (flutter/packages#5693) 2024-01-03 [email protected] Unpin mac_toolchain version (flutter/packages#5683) 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-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: 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
## Changes: * Updates the web implementation of the `pointer_interceptor` to `package:web`, and the latest `HtmlElementView` APIs available on Flutter. * Resolves a timing issue in integration tests by waiting a few frames before doing any assertions from the DOM of a Flutter Web app, that should fix flutter rolls. ## Issues: * Fixes flutter/flutter#140834 * Fixes flutter/flutter#139753 * Closes flutter#5673 (Credit to @balvinderz!) ## Tests * Tested manually. All integration tests pass locally. --- Co-authored-by: balvinderz <[email protected]>
Changes:
pointer_interceptor
topackage:web
, and the latestHtmlElementView
APIs available on Flutter.Issues:
Tests
Co-authored-by: balvinderz <b📧2@g📬l.com>
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].CHANGELOG.md
to add a description of the change, [following repository CHANGELOG style].///
).