forked from Silverfish/proton-bridge
fix(GODT-2418): Do not issue connector renames for inferiors
Bump Gluon (https://github.com/ProtonMail/gluon/pull/328) and add test.
This commit is contained in:
19
tests/features/imap/mailbox/rename_hiearchy.feature
Normal file
19
tests/features/imap/mailbox/rename_hiearchy.feature
Normal file
@ -0,0 +1,19 @@
|
||||
Feature: IMAP get mailbox info
|
||||
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 |
|
||||
| f1 | folder |
|
||||
| f1/f2| folder |
|
||||
And 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"
|
||||
|
||||
Scenario: Rename folder with subfolders
|
||||
When IMAP client "1" renames "Folders/f1" to "Folders/f3"
|
||||
And it succeeds
|
||||
Then IMAP client "1" sees "Folders/f3"
|
||||
Then IMAP client "1" sees "Folders/f3/f2"
|
||||
And IMAP client "1" does not see "Folders/f1"
|
||||
And IMAP client "1" does not see "Folders/f1/f2"
|
||||
Reference in New Issue
Block a user