test: Add test around account settings.

This commit is contained in:
Romain Le Jeune
2023-10-18 07:45:08 +00:00
parent ff78a23084
commit 5747b85543
6 changed files with 49 additions and 4 deletions

View File

@ -6,4 +6,14 @@ Feature: Account settings
When bridge starts
Scenario: Check account default settings
the account "[user:user]" has default draft format "HTML"
Then the account "[user:user]" matches the following settings:
| DraftMIMEType | AttachPublicKey | Sign | PGPScheme |
| text/html | false | 0 | 0 |
When the account "[user:user]" has public key attachment "enabled"
And the account "[user:user]" has sign external messages "enabled"
And the account "[user:user]" has default draft format "plain"
And the account "[user:user]" has default PGP schema "inline"
Then the account "[user:user]" matches the following settings:
| DraftMIMEType | AttachPublicKey | Sign | PGPScheme |
| text/plain | true | 1 | 8 |