Commit Graph

2 Commits

Author SHA1 Message Date
stuartmorgan
c3cc4d86dd [ci] Disable maps tests in Android emulator (#5003)
When the emulator tests for Android were brought up, `google_maps_fluter_android` was excluded due to flake. We're also seeing high flake from `google_maps_flutter` on Android, so disabling that as well.

We continue to have coverage of these tests via FTL, so it's only the relatively new emulator version that is being disabled here.

See https://github.com/flutter/flutter/issues/130986
2023-09-29 19:53:05 +00:00
stuartmorgan
2481d92950 [ci] Enable Android emulator-based tests (#4494)
Adds emulators to the Android platform test tasks, and enable both native integration tests and `flutter test` Dart integration tests. This finally gives us presubmit coverage of Android integration tests for non-team-member PRs, as well as giving us a path to reducing the dependency on FTL for all of our Android testing.

Currently this uses Android 13 emulators; we could expand this to a set of legacy version emulator tests in the future once this is in place.

Some specific notes:
- Camera and Google Maps tests are currently excluded, so that we can enable everything else while we work on the blockers for those.
- `shared_preferences` was missing its debug entitlement, which prevented the debug service from running, and thus broke `flutter test`; we'd just never noticed because FTL tests don't need that mechanism to work.
- IAP was using `test` instead of `testWidget`, which we only check for in `drive-examples`, so hadn't noticed.

Fixes https://github.com/flutter/flutter/issues/93810
2023-07-24 20:48:19 +00:00