Skip to content

Commit

Permalink
Increase delay for checking integration_ui_keyboard_resize test succe…
Browse files Browse the repository at this point in the history
…ss (#141301)

Increases delay for checking keyboard resizing to potentially accommodate the occasional longer delay of the Pixel 7 Pro.

Intended to address flutter/flutter#140645.
  • Loading branch information
camsim99 committed Jan 12, 2024
1 parent e20e951 commit 5931b4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void main() {
await driver.tap(defaultTextField);

bool heightTextDidShrink = false;
for (int i = 0; i < 3; ++i) {
for (int i = 0; i < 6; ++i) {
await Future<void>.delayed(const Duration(seconds: 1));
// Measure the height with keyboard displayed.
final String heightWithKeyboardShown = await driver.getText(heightText);
Expand Down

0 comments on commit 5931b4f

Please sign in to comment.