WIP
This commit is contained in:
parent
84f04dc069
commit
302954e176
|
@ -1,18 +1,18 @@
|
||||||
part of 'app_test.dart';
|
part of 'app_test.dart';
|
||||||
|
|
||||||
final _patrolTesterConfig = PatrolTesterConfig(printLogs: true);
|
final _PatrolTesterConfig = PatrolTesterConfig(printLogs: true);
|
||||||
final _nativeAutomatorConfig = NativeAutomatorConfig(
|
final _nativeAutomatorConfig = NativeAutomatorConfig(
|
||||||
findTimeout: Duration(seconds: 20), // 10 seconds is too short for some CIs
|
findTimeout: Duration(seconds: 20), // 10 seconds is too short for some CIs
|
||||||
);
|
);
|
||||||
|
|
||||||
// Future<void> createApp(PatrolIntegrationTester $) async {
|
// Future<void> createApp(PatrolTester $) async {
|
||||||
// await app_main.main();
|
// await app_main.main();
|
||||||
// await $.pumpAndSettle();
|
// await $.pumpAndSettle();
|
||||||
// }
|
// }
|
||||||
|
|
||||||
void patrol(
|
void patrol(
|
||||||
String description,
|
String description,
|
||||||
Future<void> Function(PatrolIntegrationTester) callback, {
|
Future<void> Function(PatrolTester) callback, {
|
||||||
bool? skip,
|
bool? skip,
|
||||||
List<String> tags = const [],
|
List<String> tags = const [],
|
||||||
NativeAutomatorConfig? nativeAutomatorConfig,
|
NativeAutomatorConfig? nativeAutomatorConfig,
|
||||||
|
@ -21,7 +21,7 @@ void patrol(
|
||||||
}) {
|
}) {
|
||||||
patrolTest(
|
patrolTest(
|
||||||
description,
|
description,
|
||||||
config: _patrolTesterConfig,
|
config: _PatrolTesterConfig,
|
||||||
nativeAutomatorConfig: nativeAutomatorConfig ?? _nativeAutomatorConfig,
|
nativeAutomatorConfig: nativeAutomatorConfig ?? _nativeAutomatorConfig,
|
||||||
framePolicy: framePolicy,
|
framePolicy: framePolicy,
|
||||||
skip: skip,
|
skip: skip,
|
||||||
|
|
Loading…
Reference in New Issue