-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Migrates android semanitcs integration to integration test #127128
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
Conversation
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.
This is essentially the same test as test_drive/main_test.dart
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.
not very familiar with these lock file but the test won't run until i update the lock file.
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.
This make it more stable, in case Android may update the AccessibilityNodeInfo.AccessibilityAction enum.
This is was causing some confusion that the test previously think the paste action to be a copy action. I think Android has probably updated the enum sometimes in the past.
...tics_testing/android/app/src/main/java/com/yourcompany/platforminteraction/MainActivity.java
Outdated
Show resolved
Hide resolved
dev/integration_tests/android_semantics_testing/test_driver/integration_test.dart
Outdated
Show resolved
Hide resolved
dev/integration_tests/android_semantics_testing/test_driver/main_test.dart
Outdated
Show resolved
Hide resolved
dev/integration_tests/android_semantics_testing/test_driver/integration_test.dart
Outdated
Show resolved
Hide resolved
dev/integration_tests/android_semantics_testing/test_driver/integration_test.dart
Outdated
Show resolved
Hide resolved
|
hmm, for some reason the @christopherfujino Do you know why we may have different permission for running This is the log |
|
I moved the adb comment to enable talkback to devicelab test runner so I can workaround the issue that i can't call adb in |
|
a friendly bump |
goderbauer
left a comment
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
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.
Do we know here what device the test is targeting? Can we assert if someone accidentally sets withTalkBack to true on a device that doesn't support it (e.g. iOS)?
flutter/flutter@f86c529...216605b 2023-05-24 [email protected] Roll Flutter Engine from aba9dc4640c2 to eebcf36cd38f (3 revisions) (flutter/flutter#127458) 2023-05-24 [email protected] Roll Flutter Engine from 76afb431a740 to aba9dc4640c2 (1 revision) (flutter/flutter#127453) 2023-05-24 [email protected] Roll Flutter Engine from fc6df9512aa2 to 76afb431a740 (3 revisions) (flutter/flutter#127445) 2023-05-23 49699333+dependabot[bot]@users.noreply.github.com Bump actions/labeler from 6b107e7a7ee5e054e0bcce60de5181d21e2f00fb to 2713f7303c96cb1e69627957ec16eea0fd7f94a4 (flutter/flutter#127438) 2023-05-23 [email protected] Roll Flutter Engine from 3535e0d301dd to fc6df9512aa2 (1 revision) (flutter/flutter#127440) 2023-05-23 [email protected] Migrates android semanitcs integration to integration test (flutter/flutter#127128) 2023-05-23 [email protected] Roll Flutter Engine from 23b04314d5d2 to 3535e0d301dd (3 revisions) (flutter/flutter#127428) 2023-05-23 [email protected] Roll Flutter Engine from ccf50f344d5d to 23b04314d5d2 (2 revisions) (flutter/flutter#127421) 2023-05-23 [email protected] Give channel descriptions in `flutter channel`, use branch instead of upstream for channel name (flutter/flutter#126936) 2023-05-23 [email protected] Avoid catching errors in TextPainter tests (flutter/flutter#127307) 2023-05-23 [email protected] [flutter_tools] delete entitlements files after copying to macos build dir (flutter/flutter#127417) 2023-05-23 [email protected] Roll Flutter Engine from a6e37bde65fd to ccf50f344d5d (7 revisions) (flutter/flutter#127416) 2023-05-23 [email protected] modal bottom sheet barrier label (flutter/flutter#126431) 2023-05-23 [email protected] Fix the breaking of multi-code-unit characters in obscure mode (flutter/flutter#123366) 2023-05-23 [email protected] Roll Flutter Engine from 168b0bf3f70d to a6e37bde65fd (1 revision) (flutter/flutter#127397) 2023-05-23 [email protected] Revert "Log all output of ios-deploy" (flutter/flutter#127405) 2023-05-23 [email protected] Roll Packages from 83959fb to d449a17 (6 revisions) (flutter/flutter#127394) 2023-05-23 [email protected] Log all output of ios-deploy (flutter/flutter#127222) 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…27128) I think the flake is due to setclipboard or semantics update race condition. I migrated the test to use integration test package which relies less on timing fixes flutter#124636
…gup (#160993) This should have been marked unflaky when #124636 was fixed with #127128. However it wasn't, and is now failing on a legit behavior change the test caught. The test is now failing due to #153594, and if this test hadn't been marked flaky the commit in question would closed the tree and been reverted.
I think the flake is due to setclipboard or semantics update race condition. I migrated the test to use integration test package which relies less on timing
fixes #124636
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.