1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-22 06:58:41 +00:00

Use pumpAndSettle after dragUntilVisible to avoid flakes in context_menu tests (#1588)

This commit is contained in:
Justin McCandless
2023-01-23 17:47:01 -08:00
committed by GitHub
parent 1a383e9361
commit 4ee2002665
4 changed files with 4 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ void main() {
find.byType(ListView),
const Offset(0.0, -100.0),
);
await tester.pumpAndSettle();
await tester.tap(find.text(CustomButtonsPage.title));
await tester.pumpAndSettle();