GODT-1779: Remove go-imap

This commit is contained in:
James Houlahan
2022-08-26 17:00:21 +02:00
parent 3b0bc1ca15
commit 39433fe707
593 changed files with 12725 additions and 91626 deletions

View File

@ -0,0 +1,29 @@
Feature: IMAP delete 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 |
| one | folder |
| two | folder |
| three | 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: Delete folder
When IMAP client "1" deletes "Folders/one"
Then IMAP client "1" does not see "Folders/one"
But IMAP client "1" sees "Folders/two"
But IMAP client "1" sees "Labels/three"
Scenario: Delete label
When IMAP client "1" deletes "Labels/three"
Then IMAP client "1" does not see "Labels/three"
But IMAP client "1" sees "Folders/one"
But IMAP client "1" sees "Folders/two"
Scenario: Deleting system mailbox is not possible
When IMAP client "1" deletes "INBOX"
Then it fails
And IMAP client "1" sees "INBOX"