mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-26 03:46:42 +00:00
GODT-1779: Remove go-imap
This commit is contained in:
27
tests/features/imap/mailbox/select.feature
Normal file
27
tests/features/imap/mailbox/select.feature
Normal file
@ -0,0 +1,27 @@
|
||||
Feature: IMAP select mailbox
|
||||
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 |
|
||||
| mbox | folder |
|
||||
| label | label |
|
||||
And bridge starts
|
||||
And the user logs in with username "user@pm.me" and password "password"
|
||||
And user "user@pm.me" finishes syncing
|
||||
And user "user@pm.me" connects and authenticates IMAP client "1"
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user