TF-3674 Add integration test for reply email
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# Define users and folders
|
||||
users=("alice" "bob" "brian" "charlotte" "david" "emma")
|
||||
bobFolders=("Search Emails" "Forward Emails" "Disposition" "MailBase64" "Calendar")
|
||||
bobFolders=("Search Emails" "Forward Emails" "Disposition" "MailBase64" "Calendar" "Reply Emails")
|
||||
|
||||
# Add users
|
||||
for user in "${users[@]}"; do
|
||||
@@ -66,4 +66,13 @@ james-cli ImportEml \#private "bob@example.com" "MailBase64" "/root/conf/integra
|
||||
# For test calendar event
|
||||
# Import email into 'Calendar' folder for user Bob
|
||||
echo "Importing calendar eml into 'Calendar' folder for user bob"
|
||||
james-cli ImportEml \#private "bob@example.com" "Calendar" "/root/conf/integration_test/eml/calendar/calendar_counter.eml"
|
||||
james-cli ImportEml \#private "bob@example.com" "Calendar" "/root/conf/integration_test/eml/calendar/calendar_counter.eml"
|
||||
|
||||
# For test reply email
|
||||
# Import emails into 'Reply Emails' folder for user Bob
|
||||
replyEmailsEML=("reply-all.eml" "reply-to-list.eml" "with-reply-to.eml" "without-reply-to.eml")
|
||||
|
||||
for eml in "${replyEmailsEML[@]}"; do
|
||||
echo "Importing $eml into 'Reply Emails' folder for user bob"
|
||||
james-cli ImportEml \#private "bob@example.com" "Reply Emails" "/root/conf/integration_test/eml/reply_email/$eml"
|
||||
done
|
||||
Reference in New Issue
Block a user