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:
Leander Beernaert
2023-03-20 13:19:05 +01:00
parent ec351330f1
commit ed05823c78
3 changed files with 22 additions and 3 deletions

View 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"