Enable a scrolling fling test. (#62825)

This commit is contained in:
Ian Hickson 2020-08-04 12:46:07 -07:00 committed by GitHub
parent 3bc3ea51ed
commit 4a4e9bad84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,10 +29,11 @@ void main() {
await tester.fling(find.byType(ListView), const Offset(0.0, -kFlingOffset), 1000.0);
expect(getCurrentOffset(), kFlingOffset);
await tester.pump(); // process the up event
while (tester.binding.transientCallbackCount > 0) {
final double lastOffset = getCurrentOffset();
await tester.pump(const Duration(milliseconds: 20));
expect(getCurrentOffset(), greaterThan(lastOffset));
}
}, skip: true); // https://github.com/flutter/flutter/issues/5339
});
}