forked from firka/flutter
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user