flutter/dev/integration_tests
Mitchell Goodwin e84f1296ac
Refactor to use Apple system fonts (#137275)
Addresses #63507, and is a follow up to the engine PR https://github.com/flutter/engine/pull/46857

Changes the font family string when attempting to use Apple system fonts to the new proxies added by the engine. For the "Text" font this will be more secure in the future against possible changes to Apple's API. For the "Display" font, this will now work correctly when it didn't before.

I checked the letter spacing values against a native app for all font sizes between 17-28. I made a few adjustments to better match native, but especially for the "Text" font we were either really close, or close enough to not make a large breaking change to default fonts worth it.

| Before  | After |
| ------------- | ------------- |
| <img width="466" alt="Screenshot 2023-11-02 at 11 45 12 AM" src="https://github.com/flutter/flutter/assets/58190796/627ed8ac-d848-4f71-aa62-a467b8aac62d"> | <img width="383" alt="Screenshot 2023-11-02 at 11 46 25 AM" src="https://github.com/flutter/flutter/assets/58190796/9a502021-7d2b-4e14-98f1-86971b3830a5"> |

The smaller text in both the before and after should be the same. The large system font that Flutter used before was incorrect, which caused it to look more spread out. Now we use the correct font.
2023-11-29 21:03:32 +00:00
..
abstract_method_smoke_test [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
android_custom_host_app [Android] Support Android 34 (take 2) (#137967) 2023-11-09 22:40:15 +00:00
android_embedding_v2_smoke_test Roll dependencies (#139203) 2023-11-29 20:12:59 +00:00
android_host_app/.gradle
android_host_app_v2_embedding [Android] Support Android 34 (take 2) (#137967) 2023-11-09 22:40:15 +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 [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
android_views Roll dependencies (#139203) 2023-11-29 20:12:59 +00:00
channels Implement switch expressions in dev/ (#139048) 2023-11-28 23:40:28 +00:00
deferred_components_test [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
external_ui [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
flavors [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
flutter_gallery Refactor to use Apple system fonts (#137275) 2023-11-29 21:03:32 +00:00
gradle_deprecated_settings Roll dependencies (#139203) 2023-11-29 20:12:59 +00:00
hybrid_android_views Roll dependencies (#139203) 2023-11-29 20:12:59 +00:00
ios_add2app_life_cycle Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
ios_app_with_extensions Roll dependencies (#139203) 2023-11-29 20:12:59 +00:00
ios_host_app Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +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 Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
module_host_with_custom_build/.gradle
module_host_with_custom_build_v2_embedding [Android] Support Android 34 (take 2) (#137967) 2023-11-09 22:40:15 +00:00
non_nullable [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
platform_interaction [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
release_smoke_test [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
spell_check [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
ui [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
web Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
web_compile_tests Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
web_e2e_tests Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
wide_gamut_test Reverts "Reland Add platform view wide gamut test" (#139189) 2023-11-29 00:58:17 +00:00
windows_startup_test Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
README.md

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