GODT-2181(test): use [domain] for test server domain

This commit is contained in:
James Houlahan
2022-12-13 00:12:29 +01:00
parent 1aca2cde71
commit 688cb30d4a
45 changed files with 866 additions and 840 deletions

View File

@ -1,21 +1,21 @@
Feature: IMAP move messages by append and delete (without MOVE support, e.g., Outlook)
Background:
Given there exists an account with username "user@pm.me" and password "password"
And the account "user@pm.me" has the following custom mailboxes:
| name | type |
| mbox | folder |
Given there exists an account with username "user" and password "password"
And the account "user" has the following custom mailboxes:
| name | type |
| mbox | folder |
And bridge starts
And the user logs in with username "user@pm.me" and password "password"
And user "user@pm.me" finishes syncing
And user "user@pm.me" connects and authenticates IMAP client "source"
And user "user@pm.me" connects and authenticates IMAP client "target"
And the user logs in with username "user" and password "password"
And user "user" finishes syncing
And user "user" connects and authenticates IMAP client "source"
And user "user" connects and authenticates IMAP client "target"
Scenario Outline: Move message from <srcMailbox> to <dstMailbox> by <order>
When IMAP client "source" appends the following message to "<srcMailbox>":
"""
Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000
From: sndr1@pm.me
To: rcvr1@pm.me
From: sndr1@[domain]
To: rcvr1@[domain]
Subject: subj1
body1
@ -24,8 +24,8 @@ Feature: IMAP move messages by append and delete (without MOVE support, e.g., Ou
When IMAP client "source" appends the following message to "<srcMailbox>":
"""
Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000
From: sndr2@pm.me
To: rcvr2@pm.me
From: sndr2@[domain]
To: rcvr2@[domain]
Subject: subj2
body2
@ -36,12 +36,12 @@ Feature: IMAP move messages by append and delete (without MOVE support, e.g., Ou
When IMAP clients "source" and "target" move message seq "2" of "user" to "<dstMailbox>" by <order>
And IMAP client "source" sees 1 messages in "<srcMailbox>"
And IMAP client "source" sees the following messages in "<srcMailbox>":
| from | to | subject |
| sndr1@pm.me | rcvr1@pm.me | subj1 |
| from | to | subject |
| sndr1@[domain] | rcvr1@[domain] | subj1 |
And IMAP client "target" sees 1 messages in "<dstMailbox>"
And IMAP client "target" sees the following messages in "<dstMailbox>":
| from | to | subject |
| sndr2@pm.me | rcvr2@pm.me | subj2 |
| from | to | subject |
| sndr2@[domain] | rcvr2@[domain] | subj2 |
Examples:
| srcMailbox | dstMailbox | order |
| Trash | INBOX | APPEND DELETE EXPUNGE |