Skip to content

Commit bef87d5

Browse files
committed
[refactor] Stabilize the Android example action gate
Signed-off-by: Viwat Vchirawongkwin <viwat.v@chula.ac.th>
1 parent 9405d02 commit bef87d5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎app/integration_test/blockly_webview_suite.dart‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,12 @@ pixels.write()
639639
reason:
640640
'the real scratch Blockly workspace did not materialize the selected LED GPIO',
641641
);
642+
// A real Android IME can still cover the example action after enterText,
643+
// even when ensureVisible has scrolled its RenderBox into the viewport.
644+
// Close it before asserting hit-testability so the integration gate tests
645+
// the action rather than emulator keyboard-animation timing.
646+
tester.testTextInput.hide();
647+
await tester.pumpAndSettle();
642648
final Finder replaceWorkspaceAction = find.byKey(
643649
kBlocksExampleReplaceWorkspaceButtonKey,
644650
);

0 commit comments

Comments
 (0)