Migrates android semanitcs integration to integration test (#127128)

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 https://github.com/flutter/flutter/issues/124636
This commit is contained in:
chunhtai
2023-05-23 15:33:19 -07:00
committed by GitHub
parent 8c086d0171
commit c687dcd56f
11 changed files with 979 additions and 766 deletions

View File

@@ -98,6 +98,7 @@ enum AndroidSemanticsAction {
/// The Android id of the action.
final int id;
// These indices need to be in sync with android_semantics_testing/android/app/src/main/java/com/yourcompany/platforminteraction/MainActivity.java
static const int _kFocusIndex = 1 << 0;
static const int _kClearFocusIndex = 1 << 1;
static const int _kSelectIndex = 1 << 2;