From 3ad6fb81f38f8f567b1420172ceea5924d5a724f Mon Sep 17 00:00:00 2001 From: David Iglesias Date: Thu, 1 Aug 2024 18:24:07 -0700 Subject: [PATCH] [ci] Re-enable google_maps_flutter_web integration tests. (#7269) Attempt to re-enable integration tests on the `google_maps_flutter_web` package, post-package:web migration, see what happens. Part of: https://github.com/flutter/packages/pull/7087 --- .../example/integration_test/markers_test.dart | 8 -------- script/configs/exclude_integration_web.yaml | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/markers_test.dart b/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/markers_test.dart index f471c9c77cc9..f76e386b1088 100644 --- a/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/markers_test.dart +++ b/packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/markers_test.dart @@ -214,7 +214,6 @@ void main() { testWidgets('markers with custom asset icon work', (WidgetTester tester) async { - tester.view.devicePixelRatio = 2.0; final Set markers = { Marker( markerId: const MarkerId('1'), @@ -246,7 +245,6 @@ void main() { testWidgets('markers with custom asset icon and pixelratio work', (WidgetTester tester) async { - tester.view.devicePixelRatio = 2.0; final Set markers = { Marker( markerId: const MarkerId('1'), @@ -278,8 +276,6 @@ void main() { }); testWidgets('markers with custom asset icon with width and height work', (WidgetTester tester) async { - tester.view.devicePixelRatio = 2.0; - final Set markers = { Marker( markerId: const MarkerId('1'), @@ -314,7 +310,6 @@ void main() { testWidgets('markers with missing asset icon should not set size', (WidgetTester tester) async { - tester.view.devicePixelRatio = 2.0; final Set markers = { Marker( markerId: const MarkerId('1'), @@ -342,7 +337,6 @@ void main() { // https://github.com/flutter/flutter/issues/66622 testWidgets('markers with custom bitmap icon work', (WidgetTester tester) async { - tester.view.devicePixelRatio = 2.0; final Uint8List bytes = const Base64Decoder().convert(iconImageBase64); final Set markers = { Marker( @@ -384,7 +378,6 @@ void main() { testWidgets('markers with custom bitmap icon and pixelratio work', (WidgetTester tester) async { - tester.view.devicePixelRatio = 2.0; final Uint8List bytes = const Base64Decoder().convert(iconImageBase64); final Set markers = { Marker( @@ -418,7 +411,6 @@ void main() { // https://github.com/flutter/flutter/issues/73789 testWidgets('markers with custom bitmap icon pass size to sdk', (WidgetTester tester) async { - tester.view.devicePixelRatio = 2.0; final Uint8List bytes = const Base64Decoder().convert(iconImageBase64); final Set markers = { Marker( diff --git a/script/configs/exclude_integration_web.yaml b/script/configs/exclude_integration_web.yaml index 59b7d8fae145..8dbdd61b8d43 100644 --- a/script/configs/exclude_integration_web.yaml +++ b/script/configs/exclude_integration_web.yaml @@ -1,4 +1,4 @@ # Currently missing: https://github.com/flutter/flutter/issues/82211 - file_selector # Waiting on https://github.com/flutter/flutter/issues/145149 -- google_maps_flutter +- google_maps_flutter/google_maps_flutter