GODT-1817: Add create check to validate mailbox creation

Only allow mailboxes with the "Folder" or "Label/" prefix.
This commit is contained in:
Leander Beernaert 2023-01-02 15:25:50 +01:00
parent 1bdb8b2724
commit 82b6037a00
1 changed files with 7 additions and 0 deletions

View File

@ -192,3 +192,10 @@ Feature: IMAP create mailbox
When IMAP client "1" creates "Folders/first/second"
And it succeeds
Then IMAP client "1" sees "Folders/first/second"
Scenario: Creating mailbox without prefix is not possible
Given test skips reporter checks
When IMAP client "1" creates "mbox"
Then it fails
When IMAP client "1" creates "All Mail"
Then it fails