flutter/dev/integration_tests
gmackall d1eb1f0a57
Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642)
Upgrades tests under `dev/integration_tests` to use the latest values [in the templates](944d6c8fef/dev/tools/bin/generate_gradle_lockfiles.dart (L135)). Most of this PR was auto-generated, by running `find dev/integration_tests/ -type d -name 'android' | dart dev/tools/bin/generate_gradle_lockfiles.dart` from the root of the flutter directory.

The pieces that were not are:
1. Upgrading the Gradle versions used in integration tests to be >=7.4, in places where it was currently lower.
2. Upgrading the mac, windows, and linux build_tests .ci.yaml configuration to use jdk 17 on all shards. It currently was using a mix of 17 and 11. This isn't desirable, because some of the tests require 17, and the distribution is [random across shards](cef9a8c54b/dev/bots/test.dart (L553)) (so they were only passing because they were getting randomly placed on shards using jdk 17).
3. Adding a dependency on jdk 11 for the tests based on the `firebaselab/firebaselab` recipe. Previously they had no java dependency, and were therefore defaulting to java 1.8. The newer AGP versions necessitated an upgrade to 11 to run.

Note that it also ended up downgrading the AGP version in two places (in the [hybrid_android_views](https://github.com/flutter/flutter/pull/129642/files#diff-d7cfaa1c96d5c2383e7fc253ac8c9df062b544c24f7d80aa8a02290c01d17205L17) and [platform_interaction](https://github.com/flutter/flutter/pull/129642/files#diff-b2fba811efadd1cfb097bebd93be99fe4b6d6f17aefa863267290fc704290766L17) tests), because those had been manually edited to a newer version than the template.

Related to: https://github.com/flutter/flutter/issues/123636, https://github.com/flutter/flutter/pull/123910
2023-06-30 19:34:20 +00:00
..
abstract_method_smoke_test Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
android_custom_host_app [Android] Bump integration tests using compileSdkVersion 31 to 33 (#128072) 2023-06-09 01:54:22 +00:00
android_embedding_v2_smoke_test Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
android_host_app/.gradle Reland "Branch out android platform view perf testing #60238" 2nd time (#61748) 2020-07-22 18:36:11 -07:00
android_host_app_v2_embedding [Android] Bump integration tests using compileSdkVersion 31 to 33 (#128072) 2023-06-09 01:54:22 +00:00
android_module_host_with_custom_build_v2_embedding/app/src/main/java/io/flutter/addtoapp Fix package declarations for add-to-app integration tests (#77648) 2021-03-30 14:19:02 -07:00
android_semantics_testing Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
android_views Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
channels Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
deferred_components_test flutter update-packages --force-upgrade (#128908) 2023-06-15 18:17:09 +00:00
external_ui Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
flavors Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
flutter_gallery Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
gradle_deprecated_settings Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
hybrid_android_views Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
ios_add2app_life_cycle flutter update-packages --force-upgrade (#128908) 2023-06-15 18:17:09 +00:00
ios_app_with_extensions iOS info.plist template: make UIViewControllerBasedStatusBar to be true (#128970) 2023-06-20 18:11:18 +00:00
ios_host_app Remove "note that" in our documentation (as per style guide) (#120842) 2023-02-17 22:27:33 +00:00
ios_host_app_swift Set template and migrate apps to iOS 11 minimum (#101963) 2022-04-15 11:34:08 -07:00
ios_platform_view_tests iOS info.plist template: make UIViewControllerBasedStatusBar to be true (#128970) 2023-06-20 18:11:18 +00:00
module_host_with_custom_build/.gradle Reland "Branch out android platform view perf testing #60238" 2nd time (#61748) 2020-07-22 18:36:11 -07:00
module_host_with_custom_build_v2_embedding [Android] Bump integration tests using compileSdkVersion 31 to 33 (#128072) 2023-06-09 01:54:22 +00:00
non_nullable Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
platform_interaction Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
release_smoke_test Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
spell_check Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
ui Upgrade integration tests to use AGP 7.3/Gradle 7.4 (#129642) 2023-06-30 19:34:20 +00:00
web flutter update-packages --force-upgrade (#128908) 2023-06-15 18:17:09 +00:00
web_compile_tests flutter update-packages --force-upgrade (#128908) 2023-06-15 18:17:09 +00:00
web_e2e_tests flutter update-packages --force-upgrade (#128908) 2023-06-15 18:17:09 +00:00
wide_gamut_test iOS info.plist template: make UIViewControllerBasedStatusBar to be true (#128970) 2023-06-20 18:11:18 +00:00
windows_startup_test Deletes files that should be ignored (#127984) 2023-06-29 19:45:22 +00:00
README.md Added a more generous timeout period for the keyboard animation. (#62628) 2020-08-04 08:14:17 -07:00

Automated Flutter integration test suites

Each suite consists of either a complete Flutter app and a flutter_driver specification that drives tests from the UI, or a native app that is meant to integrate with Flutter for testing.

Intended for use with devicelab tests.

If you want to run a driver test locally, to debug a problem with a test, you can use this command from the appropriate subdirectory:

flutter drive -t <test> --driver <driver>

For example:

flutter drive -t lib/keyboard_resize.dart --driver test_driver/keyboard_resize_test.dart