TF-3236 Add integration test to search snippet
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user