Enable goldenFileComparator fix for on-device integration tests. (#163157)

Closes https://github.com/flutter/flutter/issues/143299.
Closes https://github.com/flutter/flutter/issues/160043.

A website update is work-in-progress here to add more context for users:
<https://github.com/flutter/website/pull/11716>.
This commit is contained in:
Matan Lurey
2025-02-13 08:43:05 -08:00
committed by GitHub
parent b61335bd3b
commit 4ff2deafd4
3 changed files with 5 additions and 5 deletions

View File

@@ -24,9 +24,6 @@ import 'package:integration_test_example/main.dart' as app;
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
// TODO(matanlurey): Make this automatic as part of the bootstrap.
VmServiceProxyGoldenFileComparator.useIfRunningOnDevice();
testWidgets('can use matchesGoldenFile with integration_test', (WidgetTester tester) async {
// Build our app and trigger a frame.
app.main();