diff --git a/__tests__/files/outlook-outlook/macos-macos/README.md b/__tests__/files/outlook-outlook/macos-macos/README.md index 0b7089b64af6fac7e2bf71603bf25fae1021a995..0a1c3b038c38070fbdad747d199cf2ff4b265445 100644 --- a/__tests__/files/outlook-outlook/macos-macos/README.md +++ b/__tests__/files/outlook-outlook/macos-macos/README.md @@ -7,8 +7,8 @@ | 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 | - | - | - | -| 09 | 2 replies with test case 01 | - | - | - | +| 08 | Complex email with formatted text, embedded images, MIME and GDrive attachments | fail | - | - | +| 09 | 2 replies with test case 01 | fail | - | - | | 10 | 2 replies with test case 02 | - | - | - | | 11 | 2 replies with test case 03 | - | - | - | | 12 | 2 replies with test case 04 | - | - | - | @@ -61,3 +61,54 @@ Diff example: ### 08 HTML matching failure caused by combination of 03, 04 and 05 failures + +### 09 + +#### HTML + +As a part of normalisation routine, we are getting rid of the QR codes. + +This happens using HTML `id` attribute. + +In normal case, a `div` with QR code looks like this: + +```html +<div id="test-for-us"> + <p class="MsoNormal"> + <a + href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Foffice.test.vereign.com%2F%3Fq%3DCiBYx1IuGYgYTzhqNVrddWtwYWAeWhAcwBM2LxTlmudAjxIgU6ynQR39MnKsiLu1DDoaH8W0veYwWpacAs6XT-1SIGE%3D%26timestamp%3D1608738280784&data=04%7C01%7C%7C0b01e377f850417ce94608d8a759c2bc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637443351242842803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bmq5FE58MFOT13FV8yBqdK67jtlpPQx3MMOA0BsY4d4%3D&reserved=0" + target="_blank" + > + <!--... qr code image--> + </a> + </p> +</div> +``` + +in broken reply case, wrapping `div` with specified id is gone + +```html +<p + class="MsoNormal" + style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" +> + +</p> +<p + class="MsoNormal" + style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" +> + <a + href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Foffice.test.vereign.com%2F%3Fq%3DCiBYx1IuGYgYTzhqNVrddWtwYWAeWhAcwBM2LxTlmudAjxIgU6ynQR39MnKsiLu1DDoaH8W0veYwWpacAs6XT-1SIGE%3D%26timestamp%3D1608738280784&data=04%7C01%7C%7Cb76d35214a2f4b89702b08d8a759f32b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637443352054987160%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BSX%2BqcTJvzH1ttGrGEbpVUziAbY2M9n0%2Bj8fegO2aaE%3D&reserved=0" + originalsrc="https://office.test.vereign.com/?q=CiBYx1IuGYgYTzhqNVrddWtwYWAeWhAcwBM2LxTlmudAjxIgU6ynQR39MnKsiLu1DDoaH8W0veYwWpacAs6XT-1SIGE=&timestamp=1608738280784" + shash="N0i50hBF8Axb3v+1JS8ML+yvp6JqV6yBvv2V+PNNba7XLnfRCXJq1ih59HpquliNJIaEtNG03pY32DmzAfBB/G/1OSiTPP2sTqlMzSYJmYBYjIUvhayhC4OfSw14RDZMlET6QO2GsCPZ8Rrc+6n/ZOrwAkVw6ffyRtupiVnHLLg=" + target="_blank" + > + <!-- QR code image --> </a + ><o:p></o:p> +</p> +``` + +### 10-17 + +Proceeding with rest cases will not have any effect unless problems stated above are fixed.