Files
proton-bridge/tests/features/imap/mailbox/select.feature
2023-05-22 11:16:56 +00:00

30 lines
925 B
Gherkin

Feature: IMAP select mailbox
Background:
Given there exists an account with username "[user:user]" and password "password"
And the account "[user:user]" has the following custom mailboxes:
| name | type |
| mbox | folder |
| label | label |
Then it succeeds
When bridge starts
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 it succeeds
Scenario: Select inbox
When IMAP client "1" selects "INBOX"
Then it succeeds
Scenario: Select custom mailbox
When IMAP client "1" selects "Folders/mbox"
Then it succeeds
Scenario: Select custom label
When IMAP client "1" selects "Labels/label"
Then it succeeds
Scenario: Select non-existing mailbox
When IMAP client "1" selects "qwerty"
Then it fails