TF-3674 Add integration test for reply email
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -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($),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user