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,19 +1,19 @@
Feature: IMAP get mailbox info
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 |
| one | folder |
And the address "user@pm.me" of account "user@pm.me" has the following messages in "one":
| from | to | subject | unread |
| a@pm.me | a@pm.me | one | true |
| b@pm.me | b@pm.me | two | false |
Given there exists an account with username "user" and password "password"
And the account "user" has the following custom mailboxes:
| name | type |
| one | folder |
And the address "user@[domain]" of account "user" has the following messages in "one":
| from | to | subject | unread |
| a@[domain] | a@[domain] | one | true |
| b@[domain] | b@[domain] | two | false |
And bridge starts
And the user logs in with username "user@pm.me" and password "password"
And user "user@pm.me" finishes syncing
And the user logs in with username "user" and password "password"
And user "user" finishes syncing
Scenario: Mailbox status reports correct name, total and unread
When user "user@pm.me" connects and authenticates IMAP client "1"
When user "user" connects and authenticates IMAP client "1"
Then IMAP client "1" sees the following mailbox info for "Folders/one":
| name | total | unread |
| Folders/one | 2 | 1 |
| name | total | unread |
| Folders/one | 2 | 1 |