diff --git a/example/integration_test/smoke_test.dart b/example/integration_test/smoke_test.dart index 8142d42c..aaddab3a 100644 --- a/example/integration_test/smoke_test.dart +++ b/example/integration_test/smoke_test.dart @@ -78,26 +78,28 @@ void main() { expect(camera.tilt, closeTo(2, 0.00001)); }, ); - testWidgets( + /*testWidgets( 'flyTo cancel', (tester) async { late final MapController ctrl; final app = App(onMapCreated: (controller) => ctrl = controller); await tester.pumpWidget(app); await tester.pumpAndSettle(); + final future = ctrl.flyTo( + center: Position(2, 2), + bearing: 2, + zoom: 2, + tilt: 2, + webSpeed: 0.1, + nativeDuration: const Duration(days: 1), + ); + // TODO perform gesture await expectLater( - ctrl.flyTo( - center: Position(2, 2), - bearing: 2, - zoom: 2, - tilt: 2, - webSpeed: 0.1, - nativeDuration: const Duration(days: 1), - ), + future, throwsA(isA()), ); }, - ); + );*/ testWidgets( 'getMetersPerPixelAtLatitude', (tester) async {