Skip to content

Commit 001a853

Browse files
victorsannignprice
authored andcommitted
autocomplete test: Add extra pump to accommodate new delay in upstream widget
1 parent ab54810 commit 001a853

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/widgets/autocomplete_test.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ void main() {
224224
await tester.enterText(composeInputFinder, 'hi :');
225225
await tester.enterText(composeInputFinder, 'hi :z');
226226
await tester.pump();
227+
// Add an extra pump to account for any potential frame delays introduced
228+
// by the post frame callback in RawAutocomplete's implementation.
229+
await tester.pump();
227230
checkEmojiShown(expected: true, zzzOption);
228231
checkEmojiShown(expected: true, buzzingOption);
229232
checkEmojiShown(expected: true, zulipOption);

0 commit comments

Comments
 (0)