TF-3517 Add integration test for case Save draft without Reply-To & reopen it
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:tmail_ui_user/features/mailbox/presentation/widgets/label_mailbox_item_widget.dart';
|
||||
import 'package:tmail_ui_user/features/mailbox/presentation/widgets/mailbox_item_widget.dart';
|
||||
|
||||
import '../base/core_robot.dart';
|
||||
|
||||
class MailboxMenuRobot extends CoreRobot {
|
||||
@@ -7,4 +11,11 @@ class MailboxMenuRobot extends CoreRobot {
|
||||
Future<void> openAppGrid() async {
|
||||
await $(#toggle_app_grid_button).tap();
|
||||
}
|
||||
|
||||
Future<void> openFolderByName(String name) async {
|
||||
await $(MailboxItemWidget)
|
||||
.$(LabelMailboxItemWidget)
|
||||
.$(find.text(name))
|
||||
.tap();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user