Skip to main content

Bugbug email attachment assertion

It would be nice to be able to assert that an email has an attachment and is equal to a file, with an option to upload the file to check against like you would for an input.

We send out some attachments gathered from a couple different external sources, and want to ensure that no changes on their end cause us to send corrupted or blank attachments. We are currently using the "View Raw" option on the email client and verifying the first few lines of B64 encoded bytes, but the tests freeze up if the attachments are large (>1MB).

1 comment

Log in to comment and vote

Comments1

  • Prolorus

    •

    Dec 12, 2024

    Yeah being able to upload a copy of what the attachment should be and then get an assertion step to compare an attachment in the inbox with the one on record would be a nice feature!