|
|
|
|
@ -20,30 +20,30 @@ Feature: Address mode
|
|
|
|
|
|
|
|
|
|
Scenario: The user is in combined mode
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "1" with address "[user:user]@[domain]"
|
|
|
|
|
Then IMAP client "1" sees the following messages in "Folders/one":
|
|
|
|
|
Then IMAP client "1" eventually sees the following messages in "Folders/one":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
And IMAP client "1" sees the following messages in "Folders/two":
|
|
|
|
|
And IMAP client "1" eventually sees the following messages in "Folders/two":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| c@[domain] | c@[domain] | three | true |
|
|
|
|
|
| d@[domain] | d@[domain] | four | false |
|
|
|
|
|
And IMAP client "1" sees the following messages in "All Mail":
|
|
|
|
|
And IMAP client "1" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
| c@[domain] | c@[domain] | three | true |
|
|
|
|
|
| d@[domain] | d@[domain] | four | false |
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "2" with address "[alias:alias]@[domain]"
|
|
|
|
|
Then IMAP client "2" sees the following messages in "Folders/one":
|
|
|
|
|
Then IMAP client "2" eventually sees the following messages in "Folders/one":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
And IMAP client "2" sees the following messages in "Folders/two":
|
|
|
|
|
And IMAP client "2" eventually sees the following messages in "Folders/two":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| c@[domain] | c@[domain] | three | true |
|
|
|
|
|
| d@[domain] | d@[domain] | four | false |
|
|
|
|
|
And IMAP client "2" sees the following messages in "All Mail":
|
|
|
|
|
And IMAP client "2" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
@ -54,22 +54,22 @@ Feature: Address mode
|
|
|
|
|
Given the user sets the address mode of user "[user:user]" to "split"
|
|
|
|
|
And user "[user:user]" finishes syncing
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "1" with address "[user:user]@[domain]"
|
|
|
|
|
Then IMAP client "1" sees the following messages in "Folders/one":
|
|
|
|
|
Then IMAP client "1" eventually sees the following messages in "Folders/one":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
And IMAP client "1" sees 0 messages in "Folders/two"
|
|
|
|
|
And IMAP client "1" sees the following messages in "All Mail":
|
|
|
|
|
And IMAP client "1" eventually sees 0 messages in "Folders/two"
|
|
|
|
|
And IMAP client "1" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "2" with address "[alias:alias]@[domain]"
|
|
|
|
|
Then IMAP client "2" sees 0 messages in "Folders/one"
|
|
|
|
|
And IMAP client "2" sees the following messages in "Folders/two":
|
|
|
|
|
Then IMAP client "2" eventually sees 0 messages in "Folders/one"
|
|
|
|
|
And IMAP client "2" eventually sees the following messages in "Folders/two":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| c@[domain] | c@[domain] | three | true |
|
|
|
|
|
| d@[domain] | d@[domain] | four | false |
|
|
|
|
|
And IMAP client "2" sees the following messages in "All Mail":
|
|
|
|
|
And IMAP client "2" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| c@[domain] | c@[domain] | three | true |
|
|
|
|
|
| d@[domain] | d@[domain] | four | false |
|
|
|
|
|
@ -80,14 +80,14 @@ Feature: Address mode
|
|
|
|
|
And the user sets the address mode of user "[user:user]" to "combined"
|
|
|
|
|
And user "[user:user]" finishes syncing
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "1" with address "[user:user]@[domain]"
|
|
|
|
|
Then IMAP client "1" sees the following messages in "All Mail":
|
|
|
|
|
Then IMAP client "1" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
| c@[domain] | c@[domain] | three | true |
|
|
|
|
|
| d@[domain] | d@[domain] | four | false |
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "2" with address "[alias:alias]@[domain]"
|
|
|
|
|
Then IMAP client "2" sees the following messages in "All Mail":
|
|
|
|
|
Then IMAP client "2" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
@ -96,14 +96,14 @@ Feature: Address mode
|
|
|
|
|
|
|
|
|
|
Scenario: The user adds an address while in combined mode
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "1" with address "[user:user]@[domain]"
|
|
|
|
|
Then IMAP client "1" sees the following messages in "All Mail":
|
|
|
|
|
Then IMAP client "1" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
| c@[domain] | c@[domain] | three | true |
|
|
|
|
|
| d@[domain] | d@[domain] | four | false |
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "2" with address "[alias:alias]@[domain]"
|
|
|
|
|
Then IMAP client "2" sees the following messages in "All Mail":
|
|
|
|
|
Then IMAP client "2" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
@ -112,7 +112,7 @@ Feature: Address mode
|
|
|
|
|
Given the account "[user:user]" has additional address "other@[domain]"
|
|
|
|
|
And bridge sends an address created event for user "[user:user]"
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "3" with address "other@[domain]"
|
|
|
|
|
Then IMAP client "3" sees the following messages in "All Mail":
|
|
|
|
|
Then IMAP client "3" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
@ -123,12 +123,12 @@ Feature: Address mode
|
|
|
|
|
Given the user sets the address mode of user "[user:user]" to "split"
|
|
|
|
|
And user "[user:user]" finishes syncing
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "1" with address "[user:user]@[domain]"
|
|
|
|
|
And IMAP client "1" sees the following messages in "All Mail":
|
|
|
|
|
And IMAP client "1" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "2" with address "[alias:alias]@[domain]"
|
|
|
|
|
And IMAP client "2" sees the following messages in "All Mail":
|
|
|
|
|
And IMAP client "2" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| c@[domain] | c@[domain] | three | true |
|
|
|
|
|
| d@[domain] | d@[domain] | four | false |
|
|
|
|
|
@ -139,14 +139,14 @@ Feature: Address mode
|
|
|
|
|
|
|
|
|
|
Scenario: The user deletes an address while in combined mode
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "1" with address "[user:user]@[domain]"
|
|
|
|
|
Then IMAP client "1" sees the following messages in "All Mail":
|
|
|
|
|
Then IMAP client "1" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
| c@[domain] | c@[domain] | three | true |
|
|
|
|
|
| d@[domain] | d@[domain] | four | false |
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "2" with address "[alias:alias]@[domain]"
|
|
|
|
|
Then IMAP client "2" sees the following messages in "All Mail":
|
|
|
|
|
Then IMAP client "2" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
@ -161,12 +161,12 @@ Feature: Address mode
|
|
|
|
|
Given the user sets the address mode of user "[user:user]" to "split"
|
|
|
|
|
And user "[user:user]" finishes syncing
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "1" with address "[user:user]@[domain]"
|
|
|
|
|
And IMAP client "1" sees the following messages in "All Mail":
|
|
|
|
|
And IMAP client "1" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| a@[domain] | a@[domain] | one | true |
|
|
|
|
|
| b@[domain] | b@[domain] | two | false |
|
|
|
|
|
When user "[user:user]" connects and authenticates IMAP client "2" with address "[alias:alias]@[domain]"
|
|
|
|
|
And IMAP client "2" sees the following messages in "All Mail":
|
|
|
|
|
And IMAP client "2" eventually sees the following messages in "All Mail":
|
|
|
|
|
| from | to | subject | unread |
|
|
|
|
|
| c@[domain] | c@[domain] | three | true |
|
|
|
|
|
| d@[domain] | d@[domain] | four | false |
|
|
|
|
|
|