Clean also All Mail and Drafts mailboxes before running integration test

This commit is contained in:
Michal Horejsek
2020-04-20 10:22:04 +02:00
parent 8f8fbc745d
commit 366a9d6d6c
2 changed files with 1 additions and 7 deletions

View File

@ -4,8 +4,6 @@ Feature: IMAP delete messages
And there is "user" with mailbox "Folders/mbox"
And there is "user" with mailbox "Labels/label"
# https://gitlab.protontech.ch/ProtonMail/Slim-API/issues/1420
@ignore-live
Scenario Outline: Delete message
Given there are 10 messages in mailbox "<mailbox>" for "user"
And there is IMAP client logged in as "user"
@ -19,11 +17,8 @@ Feature: IMAP delete messages
| INBOX |
| Folders/mbox |
| Labels/label |
| Drafts |
| Trash |
# https://gitlab.protontech.ch/ProtonMail/Slim-API/issues/1420
@ignore-live
Scenario Outline: Delete all messages
Given there are 10 messages in mailbox "<mailbox>" for "user"
And there is IMAP client logged in as "user"
@ -37,5 +32,4 @@ Feature: IMAP delete messages
| INBOX |
| Folders/mbox |
| Labels/label |
| Drafts |
| Trash |