TF-3236 Add integration test to search snippet

This commit is contained in:
DatDang
2024-11-11 10:27:47 +07:00
committed by Dat H. Pham
parent ed2c0b1f6d
commit 1ece796185
8 changed files with 356 additions and 0 deletions
@@ -1,6 +1,7 @@
import 'package:core/presentation/views/search/search_bar_view.dart';
import 'package:flutter/material.dart';
import 'package:tmail_ui_user/features/base/widget/compose_floating_button.dart';
import 'package:tmail_ui_user/features/thread/presentation/thread_view.dart';
import '../base/core_robot.dart';
@@ -14,4 +15,8 @@ class ThreadRobot extends CoreRobot {
Future<void> openSearchView() async {
await $(SearchBarView).$(InkWell).tap();
}
Future<void> tapOnSearchField() async {
await $(ThreadView).$(SearchBarView).tap();
}
}