diff --git a/__tests__/files/outlook-outlook/macos-macos/README.md b/__tests__/files/outlook-outlook/macos-macos/README.md index be88577a1ab781e2a48b5bccfe0104e92fdd3a9b..0b7089b64af6fac7e2bf71603bf25fae1021a995 100644 --- a/__tests__/files/outlook-outlook/macos-macos/README.md +++ b/__tests__/files/outlook-outlook/macos-macos/README.md @@ -2,9 +2,9 @@ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------- | ---------------- | -------------------- | | 01 | Empty body | ok | ok | ok | | 02 | Simple text | ok | ok | ok | -| 03 | Embedded image | - | - | - | -| 04 | Embedded image with text | - | - | - | -| 05 | Complex text on multiple lines with some text bold, italic, lists, no attachments | - | - | - | +| 03 | Embedded image | fail | - | fail | +| 04 | Embedded image with text | fail | - | fail | +| 05 | Complex text on multiple lines with some text bold, italic, lists, no attachments | fail | - | - | | 06 | Multiple MIME attachments and text | ok | ok | ok | | 07 | Multiple Drive attachments and text | ok | ok | ok | | 08 | Complex email with formatted text, embedded images, MIME and GDrive attachments | - | - | - | @@ -17,3 +17,47 @@ | 15 | 2 replies with test case 07 | - | - | - | | 16 | 2 replies with test case 08 | - | - | - | | 17 | Multiple forwarded emails using cases 01-08:<br><br>E.g. <br>- User A sends "case 01" to User B<br>- User B forwards "case 02" to User A<br>- User A forwards "case 03" to User B<br>...<br>- User B forwards "case 08" to User A<br>- User A completes circle by forwarding "case 01" to User B | - | - | - | + +## Failed cases + +### 03 and 04 + +#### HTML and Pseudoplain: + +Exchange server amending `src` attribute of the inline pictures by replacing `contend-id` with path of the image in local system. + +Diff example: + +``` +<IMG alt="Graphical user interface, application + - Description automatically generated" src="cid:image001.png@01D6D86C.278036F0"/> + + Description automatically generated" src="file:////Users/igorwork/Library/Containers/com.microsoft.Outlook/Data/Library/Application%20Support/Microsoft/Temp/~WRS%7b8742DBE2-7D16-BB48-A6CC-0B0EA1F87047%7d.fld/image001.png"/> + +``` + +### 05 + +#### HTML + +Outlook Desktop amending HTML structure + +Diff example: + +``` + <TEXT>|'''Strong''italictext'':-)'''</TEXT> + </P> +- <LI> ++ <P> + <TEXT>Bulletpointed.|*Bulletpointed.</TEXT> +- </LI> ++ </P> +- <LI> ++ <P> + <TEXT>Numberedlist.|<tab>0Numberedlist.</TEXT> +- </LI> ++ </P> +``` + +### 08 + +HTML matching failure caused by combination of 03, 04 and 05 failures