Depend on the goldens repo through git. (#25479)

It's easier to run the android_views integration test this way, without
needing to worry if we have a local clone of the goldens repo or not.
This commit is contained in:
Amir Hardon
2018-12-21 10:38:39 -08:00
committed by GitHub
parent 19ce65eec9
commit 1d5833d99f
2 changed files with 3 additions and 11 deletions

View File

@@ -5,17 +5,9 @@
import 'dart:async';
import 'package:flutter_driver/flutter_driver.dart';
import 'package:flutter_goldens_client/client.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
Future<void> main() async {
setUpAll(() async {
print('Cloning goldens repository...');
final GoldensClient goldensClient = GoldensClient();
await goldensClient.prepare();
});
test('MotionEvents recomposition', () async {
final FlutterDriver driver = await FlutterDriver.connect();
final String errorMessage = await driver.requestData('run test');