Skip to content

Commit 3ad6fb8

Browse files
authored
[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: #7087
1 parent 1c4b286 commit 3ad6fb8

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

packages/google_maps_flutter/google_maps_flutter_web/example/integration_test/markers_test.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ void main() {
214214

215215
testWidgets('markers with custom asset icon work',
216216
(WidgetTester tester) async {
217-
tester.view.devicePixelRatio = 2.0;
218217
final Set<Marker> markers = <Marker>{
219218
Marker(
220219
markerId: const MarkerId('1'),
@@ -246,7 +245,6 @@ void main() {
246245

247246
testWidgets('markers with custom asset icon and pixelratio work',
248247
(WidgetTester tester) async {
249-
tester.view.devicePixelRatio = 2.0;
250248
final Set<Marker> markers = <Marker>{
251249
Marker(
252250
markerId: const MarkerId('1'),
@@ -278,8 +276,6 @@ void main() {
278276
});
279277
testWidgets('markers with custom asset icon with width and height work',
280278
(WidgetTester tester) async {
281-
tester.view.devicePixelRatio = 2.0;
282-
283279
final Set<Marker> markers = <Marker>{
284280
Marker(
285281
markerId: const MarkerId('1'),
@@ -314,7 +310,6 @@ void main() {
314310

315311
testWidgets('markers with missing asset icon should not set size',
316312
(WidgetTester tester) async {
317-
tester.view.devicePixelRatio = 2.0;
318313
final Set<Marker> markers = <Marker>{
319314
Marker(
320315
markerId: const MarkerId('1'),
@@ -342,7 +337,6 @@ void main() {
342337
// https://github.com/flutter/flutter/issues/66622
343338
testWidgets('markers with custom bitmap icon work',
344339
(WidgetTester tester) async {
345-
tester.view.devicePixelRatio = 2.0;
346340
final Uint8List bytes = const Base64Decoder().convert(iconImageBase64);
347341
final Set<Marker> markers = <Marker>{
348342
Marker(
@@ -384,7 +378,6 @@ void main() {
384378

385379
testWidgets('markers with custom bitmap icon and pixelratio work',
386380
(WidgetTester tester) async {
387-
tester.view.devicePixelRatio = 2.0;
388381
final Uint8List bytes = const Base64Decoder().convert(iconImageBase64);
389382
final Set<Marker> markers = <Marker>{
390383
Marker(
@@ -418,7 +411,6 @@ void main() {
418411
// https://github.com/flutter/flutter/issues/73789
419412
testWidgets('markers with custom bitmap icon pass size to sdk',
420413
(WidgetTester tester) async {
421-
tester.view.devicePixelRatio = 2.0;
422414
final Uint8List bytes = const Base64Decoder().convert(iconImageBase64);
423415
final Set<Marker> markers = <Marker>{
424416
Marker(
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Currently missing: https://github.com/flutter/flutter/issues/82211
22
- file_selector
33
# Waiting on https://github.com/flutter/flutter/issues/145149
4-
- google_maps_flutter
4+
- google_maps_flutter/google_maps_flutter

0 commit comments

Comments
 (0)