test(GODT-2744): Add integration tests for moving messages (with MOVE support)
This commit is contained in:
@ -143,3 +143,32 @@ Feature: IMAP move messages
|
|||||||
Given test skips reporter checks
|
Given test skips reporter checks
|
||||||
When IMAP client "1" moves the message with subject "bax" from "Sent" to "Inbox"
|
When IMAP client "1" moves the message with subject "bax" from "Sent" to "Inbox"
|
||||||
Then it fails
|
Then it fails
|
||||||
|
|
||||||
|
@regression
|
||||||
|
Scenario: Move message from Inbox to Archive
|
||||||
|
When IMAP client "1" moves the message with subject "foo" from "Inbox" to "Archive"
|
||||||
|
And it succeeds
|
||||||
|
Then IMAP client "1" eventually sees the following messages in "Archive":
|
||||||
|
| from | to | subject | unread |
|
||||||
|
| john.doe@mail.com | [user:user]@[domain] | foo | false |
|
||||||
|
And the address "[user:user]@[domain]" of account "[user:user]" has the following messages in "Inbox":
|
||||||
|
| from | to | subject | unread |
|
||||||
|
| john.doe@mail.com | name@[domain] | bar | true |
|
||||||
|
|
||||||
|
@regression
|
||||||
|
Scenario: Move message from Inbox to Spam and back
|
||||||
|
When IMAP client "1" moves the message with subject "foo" from "Inbox" to "Spam"
|
||||||
|
And it succeeds
|
||||||
|
Then IMAP client "1" eventually sees the following messages in "Spam":
|
||||||
|
| from | to | subject | unread |
|
||||||
|
| john.doe@mail.com | [user:user]@[domain] | foo | false |
|
||||||
|
And the address "[user:user]@[domain]" of account "[user:user]" has the following messages in "Inbox":
|
||||||
|
| from | to | subject | unread |
|
||||||
|
| john.doe@mail.com | name@[domain] | bar | true |
|
||||||
|
When IMAP client "1" moves the message with subject "foo" from "Spam" to "Inbox"
|
||||||
|
And it succeeds
|
||||||
|
Then IMAP client "1" eventually sees the following messages in "Inbox":
|
||||||
|
| from | to | subject | unread |
|
||||||
|
| john.doe@mail.com | [user:user]@[domain] | foo | false |
|
||||||
|
| jane.doe@mail.com | name@[domain] | bar | true |
|
||||||
|
And IMAP client "1" eventually sees 0 messages in "Spam"
|
||||||
|
|||||||
Reference in New Issue
Block a user