Other: fixed new copy test feature.

This commit is contained in:
Xavier Michelon
2021-09-30 15:57:03 +02:00
committed by Jakub Cuth
parent 4d1ace5de7
commit 0d1abaec0d

View File

@ -48,20 +48,21 @@ Feature: IMAP copy messages
| from | to | subject | body | read | deleted | | from | to | subject | body | read | deleted |
| john.doe@mail.com | user@pm.me | foo | hello | true | false | | john.doe@mail.com | user@pm.me | foo | hello | true | false |
Scenario: Copy message from All mail creates a duplicate Scenario: Copy message from All mail moves from the original location
Given there is IMAP client selected in "All Mail" Given there is IMAP client selected in "All Mail"
When IMAP client copies message seq "1" to "Folders/mbox" When IMAP client copies message seq "1" to "Folders/mbox"
Then IMAP response is "OK" Then IMAP response is "OK"
And mailbox "INBOX" for "user" has 2 messages And mailbox "INBOX" for "user" has 2 messages
And mailbox "INBOX" for "user" has messages And mailbox "INBOX" for "user" has messages
| from | to | subject | body | read | deleted | | from | to | subject | body | read | deleted |
| john.doe@mail.com | user@pm.me | foo | hello | true | false |
| jane.doe@mail.com | name@pm.me | bar | world | false | true | | jane.doe@mail.com | name@pm.me | bar | world | false | true |
| john.doe@mail.com | user@pm.me | response | hello | true | false |
And mailbox "All Mail" for "user" has 3 messages And mailbox "All Mail" for "user" has 3 messages
And mailbox "All Mail" for "user" has messages And mailbox "All Mail" for "user" has messages
| from | to | subject | body | read | deleted | | from | to | subject | body | read | deleted |
| john.doe@mail.com | user@pm.me | foo | hello | true | false | | john.doe@mail.com | user@pm.me | foo | hello | true | false |
| jane.doe@mail.com | name@pm.me | bar | world | false | false | | jane.doe@mail.com | name@pm.me | bar | world | false | false |
| john.doe@mail.com | user@pm.me | response | hello | true | false |
And mailbox "Folders/mbox" for "user" has 1 messages And mailbox "Folders/mbox" for "user" has 1 messages
And mailbox "Folders/mbox" for "user" has messages And mailbox "Folders/mbox" for "user" has messages
| from | to | subject | body | read | deleted | | from | to | subject | body | read | deleted |