File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
dev/integration_tests/android_driver_test/test_driver Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5+ import 'dart:io' as io;
6+
57import 'package:flutter_driver/flutter_driver.dart' ;
68import 'package:flutter_driver/src/native_driver.dart' ;
79import 'package:test/test.dart' ;
@@ -16,6 +18,8 @@ void main() async {
1618 await testExecutable (_main);
1719}
1820
21+ final bool _isLuciCi = io.Platform .environment['LUCI_CI' ] == 'True' ;
22+
1923Future <void > _main () async {
2024 // To generate golden files locally, uncomment the following line.
2125 // autoUpdateGoldenFiles = true;
@@ -24,7 +28,12 @@ Future<void> _main() async {
2428 late NativeDriver nativeDriver;
2529
2630 setUpAll (() async {
27- flutterDriver = await FlutterDriver .connect ();
31+ flutterDriver = await FlutterDriver .connect (
32+ // TODO(matanlurey): Workaround log uploading in LUCI not being enabled.
33+ // Default to true on CI because log uploading doesn't work.
34+ // See <https://github.com/flutter/flutter/issues/152775>.
35+ printCommunication: _isLuciCi,
36+ );
2837 nativeDriver = await AndroidNativeDriver .connect ();
2938 });
3039
You can’t perform that action at this time.
0 commit comments