TF-4229 Add integration test on mobile for case edit_a_tag_scenario

This commit is contained in:
dab246
2026-01-07 16:06:39 +07:00
committed by Dat H. Pham
parent 7b250f911b
commit 5a0929bff2
8 changed files with 140 additions and 0 deletions
@@ -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> longPressLabelWithName(String name) async {
final item = $(LabelListItem).$(name);
await $.scrollUntilVisible(finder: item);
await item.longPress();
}
}