mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-20 00:56:47 +00:00
GODT-1433: Do not save message to cache if it's a draft.
- remove: deprecated SetContentTypeAndHeader - fix: write metada unit test - change: do not cache body for Drafts - change: do not cache body structure (header) for Drafts - change: do not cache body size for Drafts
This commit is contained in:
32
test/features/imap/message/drafts.feature
Normal file
32
test/features/imap/message/drafts.feature
Normal file
@ -0,0 +1,32 @@
|
||||
Feature: IMAP operations with Drafts
|
||||
Background:
|
||||
Given there is connected user "user"
|
||||
And there is IMAP client logged in as "user"
|
||||
And there is IMAP client selected in "Drafts"
|
||||
And IMAP client imports message to "Drafts"
|
||||
"""
|
||||
To: Lionel Richie <lionel@richie.com>
|
||||
Subject: RE: Hello, is it me you looking for?
|
||||
|
||||
Nope.
|
||||
|
||||
"""
|
||||
And IMAP response is "OK"
|
||||
And API mailbox "<mailbox>" for "user" has 1 message
|
||||
|
||||
|
||||
Scenario: Draft subject updated on locally
|
||||
|
||||
Scenario: Draft recipient updated on locally
|
||||
|
||||
Scenario: Draft body updated on locally
|
||||
|
||||
@ignore-live
|
||||
Scenario: Draft subject updated on server side
|
||||
|
||||
@ignore-live
|
||||
Scenario: Draft recipient updated on server side
|
||||
|
||||
@ignore-live
|
||||
Scenario: Draft body and size updated on server side
|
||||
|
||||
Reference in New Issue
Block a user