GODT-2181(test): Use [user:NAME] for more test user names

This commit is contained in:
James Houlahan
2022-12-13 03:48:54 +01:00
parent 9623e2de6f
commit 87ce5a6d82
43 changed files with 631 additions and 603 deletions

View File

@ -1,14 +1,14 @@
Feature: IMAP list mailboxes
Scenario: List mailboxes
Given there exists an account with username "user" and password "password"
And the account "user" has the following custom mailboxes:
Given there exists an account with username "[user:user]" and password "password"
And the account "[user:user]" has the following custom mailboxes:
| name | type |
| mbox1 | folder |
| mbox2 | label |
When bridge starts
And the user logs in with username "user" and password "password"
And user "user" finishes syncing
And user "user" connects and authenticates IMAP client "1"
And the user logs in with username "[user:user]" and password "password"
And user "[user:user]" finishes syncing
And user "[user:user]" connects and authenticates IMAP client "1"
Then IMAP client "1" sees the following mailbox info:
| name |
| INBOX |
@ -25,14 +25,14 @@ Feature: IMAP list mailboxes
| Labels/mbox2 |
Scenario: List multiple times in parallel without crash
Given there exists an account with username "user" and password "password"
And the account "user" has 20 custom folders
And the account "user" has 60 custom labels
Given there exists an account with username "[user:user]" and password "password"
And the account "[user:user]" has 20 custom folders
And the account "[user:user]" has 60 custom labels
When bridge starts
And the user logs in with username "user" and password "password"
And user "user" finishes syncing
When user "user" connects and authenticates IMAP client "1"
And user "user" connects and authenticates IMAP client "2"
And the user logs in with username "[user:user]" and password "password"
And user "[user:user]" finishes syncing
When user "[user:user]" connects and authenticates IMAP client "1"
And user "[user:user]" connects and authenticates IMAP client "2"
Then IMAP client "1" counts 20 mailboxes under "Folders"
And IMAP client "1" counts 60 mailboxes under "Labels"
Then IMAP client "2" counts 20 mailboxes under "Folders"