TF-3674 Add integration test for reply email

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-04-21 14:13:15 +07:00
committed by Dat H. Pham
parent 90f4e0b746
commit 7a819191cb
19 changed files with 586 additions and 37 deletions
@@ -0,0 +1,11 @@
import '../../base/test_base.dart';
import '../../scenarios/email_detailed/reply_all_email_scenario.dart';
void main() {
TestBase().runPatrolTest(
description:
'SHOULD see the Subject contain the prefix `Re:`\n'
'AND the To, Cc, Bcc field should display correctly',
scenarioBuilder: ($) => ReplyAllEmailScenario($),
);
}
@@ -0,0 +1,11 @@
import '../../base/test_base.dart';
import '../../scenarios/email_detailed/reply_email_with_reply_to_scenario.dart';
void main() {
TestBase().runPatrolTest(
description:
'SHOULD see the Subject contain the prefix `Re:`\n'
'AND the To field should contain the email\'s `Reply-To` address.',
scenarioBuilder: ($) => ReplyEmailWithReplyToScenario($),
);
}
@@ -0,0 +1,11 @@
import '../../base/test_base.dart';
import '../../scenarios/email_detailed/reply_email_without_reply_to_scenario.dart';
void main() {
TestBase().runPatrolTest(
description:
'SHOULD see the Subject contain the prefix `Re:`\n'
'AND the To field should contain the email\'s `From` address.',
scenarioBuilder: ($) => ReplyEmailWithoutReplyToScenario($),
);
}
@@ -0,0 +1,11 @@
import '../../base/test_base.dart';
import '../../scenarios/email_detailed/reply_to_list_email_scenario.dart';
void main() {
TestBase().runPatrolTest(
description:
'SHOULD see the Subject contain the prefix `Re:`\n'
'AND the To field should contain the email\'s `List-Post` address.',
scenarioBuilder: ($) => ReplyToListEmailScenario($),
);
}