mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add timeout to keyboard finder to diagnose flake (#97258)
This commit is contained in:
parent
5d43e80d16
commit
f085e1a9cd
@ -39,7 +39,9 @@ void main() {
|
||||
|
||||
// Bring up keyboard
|
||||
await driver.tap(textFieldFinder);
|
||||
await driver.waitFor(keyboardVisibilityIndicatorFinder);
|
||||
|
||||
// TODO(jmagman): Remove timeout once flake has been diagnosed. https://github.com/flutter/flutter/issues/96787
|
||||
await driver.waitFor(keyboardVisibilityIndicatorFinder, timeout: const Duration(seconds: 5));
|
||||
|
||||
// Ensure that TextField is visible again
|
||||
await driver.waitFor(textFieldFinder);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user