TF-4227 Add integration test on mobile for case display_view_with_all_email_with_tag_scenario
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:tmail_ui_user/features/mailbox/presentation/widgets/labels/label_list_item.dart';
|
||||
|
||||
import '../base/core_robot.dart';
|
||||
|
||||
class LabelRobot extends CoreRobot {
|
||||
LabelRobot(super.$);
|
||||
|
||||
Future<void> openLabelByName(String name) async {
|
||||
final item = $(LabelListItem).$(name);
|
||||
await $.scrollUntilVisible(finder: item);
|
||||
await item.tap();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user