Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

Integration tests #44

Description

@rubenhensen

There are too many email flows to track manually for every change. We need a test suite to cover these flows and catch regressions.

Flows to cover

Sending

  • Send an email to a single recipient
  • Send an email to multiple recipients
  • Send an email with an attachment
  • Send via email (attachment, PGP armored, fallback link)
  • Send via cryptify (attachment, PGP armored, fallback link)

Receiving / Decryption

  • Download (decrypt) an email sent to a single recipient
  • Download (decrypt) an email sent to multiple recipients
  • Receive an email with multiple required attributes
  • Receive an email with optional attributes (some present, some absent)
  • Receive an email with a mix of required and optional attributes
  • Fallback decryption via URL
  • Fallback decryption via attachment

Edge cases

  • Decryption with the wrong identity (should fail gracefully)
  • Decryption when one of multiple recipients uses the wrong identity
  • Re-trying decryption after a failed Yivi session

Related

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions