TF-3493 Override enterText of Patrol Finder

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-02-21 03:37:39 +07:00
committed by Dat H. Pham
parent abdcb614ce
commit 83ec6016af
9 changed files with 97 additions and 15 deletions
+3 -2
View File
@@ -6,6 +6,7 @@ import 'package:tmail_ui_user/features/thread/presentation/widgets/email_tile_bu
import 'package:tmail_ui_user/main/localizations/app_localizations.dart';
import '../base/core_robot.dart';
import '../extensions/patrol_finder_extension.dart';
class SearchRobot extends CoreRobot {
SearchRobot(super.$);
@@ -18,7 +19,7 @@ class SearchRobot extends CoreRobot {
if (!isTextFieldFocused) {
await finder.tap();
}
await finder.enterText(queryString);
await finder.enterTextWithoutTapAction(queryString);
}
Future<void> scrollToEndListSearchFilter() async {
@@ -47,7 +48,7 @@ class SearchRobot extends CoreRobot {
if (!isTextFieldFocused) {
await finder.tap();
}
await finder.enterText(keyword);
await finder.enterTextWithoutTapAction(keyword);
}
Future<void> tapOnShowAllResultsText() async {