TF-3493 Override enterText of Patrol Finder
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
|
||||
import 'package:patrol_log/patrol_log.dart';
|
||||
import 'package:patrol_finders/patrol_finders.dart';
|
||||
|
||||
import 'patrol_tester_extension.dart';
|
||||
|
||||
extension PatrolFinderExtension on PatrolFinder {
|
||||
|
||||
Future<void> enterTextWithoutTapAction(String text) async =>
|
||||
wrapWithPatrolLog(
|
||||
action: 'enterText',
|
||||
color: AnsiCodes.magenta,
|
||||
function: () => tester.enterTextWithoutTapAction(
|
||||
this,
|
||||
text,
|
||||
enablePatrolLog: false,
|
||||
),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user