# Test info

- Name: Feature case for request-listing >> REQ_048 - Verify mail when comment in post
- Location: /root/code/portal-automation-test/tests/request/function.spec.ts:1601:9

# Error details

```
Error: expect(Buffer).toMatchSnapshot(expected)

  Expected an image 600px by 259px, received 600px by 280px. 

Expected: /root/code/portal-automation-test/tests/request/function.spec.ts-snapshots/comment-in-post-chromium-linux.png
Received: /root/code/portal-automation-test/test-results/tests-request-function-Fea-de423-y-mail-when-comment-in-post-chromium/comment-in-post-34-actual.png
    Diff: /root/code/portal-automation-test/test-results/tests-request-function-Fea-de423-y-mail-when-comment-in-post-chromium/comment-in-post-34-diff.png


Call Log:
- Test timeout of 80000ms exceeded
    at verifyScreenshot (/root/code/portal-automation-test/utils/screenshot.ts:22:8)
    at /root/code/portal-automation-test/tests/request/function.spec.ts:1623:13
    at /root/code/portal-automation-test/tests/request/function.spec.ts:1612:9
```

# Page snapshot

```yaml
- link "MailpitMailpit":
  - /url: /
  - img "Mailpit"
  - text: Mailpit
- button " Mark unread"
- button " Delete"
- button " Download"
- link "":
  - /url: /view/false
- link "":
  - /url: /view/JSdB2wQGr3nbFKkKYukoub
- button " Return to inbox 1,569"
- 'link "Summary (via Portal Assistant) a few seconds ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 8964833598\" - Minh Phong made a comment"':
  - /url: /view/gEUaLyBTfvxY58Vpp4e7KY
  - strong: Summary (via Portal Assistant)
  - text: "a few seconds ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 8964833598\" - Minh Phong made a comment"
- 'link "Summary (via Portal Assistant) a minute ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 9647561522\" - Minh Phong posted a message in \"Newest ...\" room"':
  - /url: /view/JSdB2wQGr3nbFKkKYukoub
  - strong: Summary (via Portal Assistant)
  - text: "a minute ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 9647561522\" - Minh Phong posted a message in \"Newest ...\" room"
- 'link "Minh Phong (via Portal QA) 2 minutes ago To: portal_auto_pharmacy@testmail.loprx.com [+1] Letter of Protection #543267 for John Doe 65423 Shared by Minh Phong 1"':
  - /url: /view/Mj4yu5xChdmxHYtKvu4YWb
  - strong: Minh Phong (via Portal QA)
  - text: "2 minutes ago To: portal_auto_pharmacy@testmail.loprx.com [+1] Letter of Protection #543267 for John Doe 65423 Shared by Minh Phong"
  - link "1":
    - /url: /search?q=tag%3A1
- 'link "Minh Phong (via Portal QA) an hour ago To: portal_auto_pharmacy@testmail.loprx.com A Medical Bill #980637 Shared with you (Patient: &*()_o2h Test27)"':
  - /url: /view/gXNfxYUNEF3qsmf7A6H72G
  - strong: Minh Phong (via Portal QA)
  - text: "an hour ago To: portal_auto_pharmacy@testmail.loprx.com A Medical Bill #980637 Shared with you (Patient: &*()_o2h Test27)"
- 'link "Portal QA 3 hours ago To: portal_auto_lawyer@testmail.loprx.com 904326 your passcode for signing in to Portal QA"':
  - /url: /view/HkJvVnENvvLoRyo6sucbd4
  - strong: Portal QA
  - text: "3 hours ago To: portal_auto_lawyer@testmail.loprx.com 904326 your passcode for signing in to Portal QA"
- 'link "Portal QA 3 hours ago To: portal_auto_lawyer@testmail.loprx.com Password Reset for the loprx.com"':
  - /url: /view/GQorCMENs5hHz8xj9Yp8ns
  - strong: Portal QA
  - text: "3 hours ago To: portal_auto_lawyer@testmail.loprx.com Password Reset for the loprx.com"
- 'link "Portal QA 3 hours ago To: portal_auto_lawyer@testmail.loprx.com 471297 is your recovery code for the loprx.com"':
  - /url: /view/FSs3VGvSaYktske2nctVPE
  - strong: Portal QA
  - text: "3 hours ago To: portal_auto_lawyer@testmail.loprx.com 471297 is your recovery code for the loprx.com"
- 'link "Summary (via Portal Assistant) 12 hours ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 0182011390\" - Minh Phong shared a message in \"Newest ...\" room"':
  - /url: /view/8eXPiHug65nhsdYxVpeKon
  - strong: Summary (via Portal Assistant)
  - text: "12 hours ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 0182011390\" - Minh Phong shared a message in \"Newest ...\" room"
- 'link "Summary (via Portal Assistant) 12 hours ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 2640801873\" - Minh Phong added a comment"':
  - /url: /view/AfZJ6e3bZMsJQBZi4aebqt
  - strong: Summary (via Portal Assistant)
  - text: "12 hours ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 2640801873\" - Minh Phong added a comment"
- 'link "Minh Phong (via Portal QA) 13 hours ago To: portal_auto_pharmacy@testmail.loprx.com Medical Bill #980637 for &*()_o2h Test27 Shared by Minh Phong"':
  - /url: /view/HnXkLv8hmAcmzLH2Qi5M7Y
  - strong: Minh Phong (via Portal QA)
  - text: "13 hours ago To: portal_auto_pharmacy@testmail.loprx.com Medical Bill #980637 for &*()_o2h Test27 Shared by Minh Phong"
- 'link "Cron Daemon 15 hours ago To: root@testmail.loprx.com Cron <root@portalautomationtesting> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )"':
  - /url: /view/PudYh5XftW3mi9WWnEYM8j
  - strong: Cron Daemon
  - text: "15 hours ago To: root@testmail.loprx.com Cron <root@portalautomationtesting> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )"
- 'link "Portal QA 15 hours ago To: portal_auto_lawyer@testmail.loprx.com 179624 your passcode for signing in to Portal QA"':
  - /url: /view/DBtcVcaxjfBPcncyKCUXhM
  - strong: Portal QA
  - text: "15 hours ago To: portal_auto_lawyer@testmail.loprx.com 179624 your passcode for signing in to Portal QA"
- 'link "Portal QA 15 hours ago To: portal_auto_lawyer@testmail.loprx.com Password Reset for the loprx.com"':
  - /url: /view/QrMDNTViURg4ucN62qfLun
  - strong: Portal QA
  - text: "15 hours ago To: portal_auto_lawyer@testmail.loprx.com Password Reset for the loprx.com"
- 'link "Portal QA 15 hours ago To: portal_auto_lawyer@testmail.loprx.com 602366 is your recovery code for the loprx.com"':
  - /url: /view/PgErY3Y7qigeAF3eK6GzX6
  - strong: Portal QA
  - text: "15 hours ago To: portal_auto_lawyer@testmail.loprx.com 602366 is your recovery code for the loprx.com"
- 'link "Summary (via Portal Assistant) a day ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 8589813584\" - Minh Phong made a comment"':
  - /url: /view/Z74SMmjMhmQLr7dht773QE
  - strong: Summary (via Portal Assistant)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 8589813584\" - Minh Phong made a comment"
- 'link "Summary (via Portal Assistant) a day ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 2302927449\" - Minh Phong left a message in \"Newest ...\" room"':
  - /url: /view/Xv8biFYvWqyEwXzGU9oEFp
  - strong: Summary (via Portal Assistant)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 2302927449\" - Minh Phong left a message in \"Newest ...\" room"
- 'link "Minh Phong (via Portal QA) a day ago To: portal_auto_pharmacy@testmail.loprx.com FYI: Letter of Protection #918138 for John Doe 34274"':
  - /url: /view/DrRr6HQoCStP9mMa9MJ6fo
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com FYI: Letter of Protection #918138 for John Doe 34274"
- 'link "Portal QA a day ago To: ducbui313@testmail.loprx.com 645762 your passcode for signing in to Portal QA"':
  - /url: /view/g88V5XTL9MReaiFZiTfeZU
  - strong: Portal QA
  - text: "a day ago To: ducbui313@testmail.loprx.com 645762 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) a day ago To: ducbui313@testmail.loprx.com A Letter of Protection #630061 Shared with you (Client: Jason Sagtham)"':
  - /url: /view/4s4fYV2by3e8cEd3eSfxmU
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: ducbui313@testmail.loprx.com A Letter of Protection #630061 Shared with you (Client: Jason Sagtham)"
- 'link "Minh Phong (via Portal QA) a day ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #275078 - &*()_E0S Test27"':
  - /url: /view/QFtnUQ2iHrPD5FGz5bevQ9
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #275078 - &*()_E0S Test27"
- 'link "Portal QA a day ago To: portal_auto_pharmacy@testmail.loprx.com 251522 your passcode for signing in to Portal QA"':
  - /url: /view/BGEpWsXNEiDpUdrRdGFNJT
  - strong: Portal QA
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com 251522 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) a day ago To: portal_auto_pharmacy@testmail.loprx.com Medical Bill #980637 - Patient: &*()_o2h Test27"':
  - /url: /view/eMrvdFJ2C2R5XqLsYBKWZb
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com Medical Bill #980637 - Patient: &*()_o2h Test27"
- 'link "Portal QA a day ago To: portal_auto_lawyer@testmail.loprx.com 193197 your passcode for signing in to Portal QA"':
  - /url: /view/gAnZo43rrWsRc5AXgAFWwb
  - strong: Portal QA
  - text: "a day ago To: portal_auto_lawyer@testmail.loprx.com 193197 your passcode for signing in to Portal QA"
- 'link "Portal QA a day ago To: portal_auto_lawyer@testmail.loprx.com Password Reset for the loprx.com"':
  - /url: /view/P2Kn3iAEDos9TKuutMuzks
  - strong: Portal QA
  - text: "a day ago To: portal_auto_lawyer@testmail.loprx.com Password Reset for the loprx.com"
- 'link "Portal QA a day ago To: portal_auto_lawyer@testmail.loprx.com 183760 is your recovery code for the loprx.com"':
  - /url: /view/KmNGie7EswqDuL3g7DiMsB
  - strong: Portal QA
  - text: "a day ago To: portal_auto_lawyer@testmail.loprx.com 183760 is your recovery code for the loprx.com"
- 'link "Summary (via Portal Assistant) a day ago To: portal_auto_lawyer@testmail.loprx.com \"Reply from B, 1811821289\" - Tri01 Duc added a comment"':
  - /url: /view/YzL6fTL4KxX3mvYLFJqQCV
  - strong: Summary (via Portal Assistant)
  - text: "a day ago To: portal_auto_lawyer@testmail.loprx.com \"Reply from B, 1811821289\" - Tri01 Duc added a comment"
- 'link "Portal QA a day ago To: portal_auto_pharmacy@testmail.loprx.com 291015 your passcode for signing in to Portal QA"':
  - /url: /view/acNSp24habCJmZwVFUjMS2
  - strong: Portal QA
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com 291015 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) a day ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #281983 Regarding Test Request"':
  - /url: /view/KB3QbvzUirB5xQhXWfzFh4
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #281983 Regarding Test Request"
- 'link "Summary (via Portal Assistant) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 6158247734\" - Minh Phong made a comment"':
  - /url: /view/Kyu9BkhDVQBsjMQnxYuQcb
  - strong: Summary (via Portal Assistant)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 6158247734\" - Minh Phong made a comment"
- 'link "Summary (via Portal Assistant) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 4447745955\" - Minh Phong posted a message in \"Newest ...\" room"':
  - /url: /view/TxWY8wWFmwHUPE5bUNDoEK
  - strong: Summary (via Portal Assistant)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 4447745955\" - Minh Phong posted a message in \"Newest ...\" room"
- 'link "Minh Phong (via Portal QA) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com [+1] A Letter of Protection #543267 Shared with you (Client: John Doe 65423) 1"':
  - /url: /view/VM6d8SUpAuwFeccfTz7F3m
  - strong: Minh Phong (via Portal QA)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com [+1] A Letter of Protection #543267 Shared with you (Client: John Doe 65423)"
  - link "1":
    - /url: /search?q=tag%3A1
- 'link "Summary (via Portal Assistant) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"This is message for test notification in mail\" - Minh Phong placed a message in \"Room 1\" room"':
  - /url: /view/UeF7TZ5pFMSfxbhoGmYd22
  - strong: Summary (via Portal Assistant)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"This is message for test notification in mail\" - Minh Phong placed a message in \"Room 1\" room"
- 'link "Summary (via Portal Assistant) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"This is message for test notification in mail\" - Minh Phong posted a message in \"Room 1\" room"':
  - /url: /view/ZYdTAJRgZopmjsoetfshko
  - strong: Summary (via Portal Assistant)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"This is message for test notification in mail\" - Minh Phong posted a message in \"Room 1\" room"
- 'link "Minh Phong (via Portal QA) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"This is message for test notification in...\" (from Minh Phong) - Shared Letter of Protection #543267 (Patient: John Doe 65423)"':
  - /url: /view/d3Xdc7zhzwaw5A5UoQajxo
  - strong: Minh Phong (via Portal QA)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"This is message for test notification in...\" (from Minh Phong) - Shared Letter of Protection #543267 (Patient: John Doe 65423)"
- 'link "Portal QA 2 days ago To: portal_auto_pharmacy@testmail.loprx.com 807370 your passcode for signing in to Portal QA"':
  - /url: /view/eceVCWP3jfcZLfSgRejkVu
  - strong: Portal QA
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com 807370 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com Minh Phong Shared Letter of Protection #918138 for John Doe 34274"':
  - /url: /view/P44kmsDdy5TWWewwWEnTrG
  - strong: Minh Phong (via Portal QA)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com Minh Phong Shared Letter of Protection #918138 for John Doe 34274"
- 'link "Portal QA 2 days ago To: ducbui313@testmail.loprx.com 222404 your passcode for signing in to Portal QA"':
  - /url: /view/GbLQmXH4tvrJhxsrmsXyEF
  - strong: Portal QA
  - text: "2 days ago To: ducbui313@testmail.loprx.com 222404 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) 2 days ago To: ducbui313@testmail.loprx.com Letter of Protection #630061 for Jason Sagtham Shared by Minh Phong"':
  - /url: /view/2RS7DTN77Utwp5MXJHr3yd
  - strong: Minh Phong (via Portal QA)
  - text: "2 days ago To: ducbui313@testmail.loprx.com Letter of Protection #630061 for Jason Sagtham Shared by Minh Phong"
- 'link "Minh Phong (via Portal QA) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com A Letter of Protection #275078 Shared with you (Patient: &*()_E0S Test27)"':
  - /url: /view/HtZfXQEkivWTw634wEtidP
  - strong: Minh Phong (via Portal QA)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com A Letter of Protection #275078 Shared with you (Patient: &*()_E0S Test27)"
- 'link "Summary (via Portal Assistant) 2 days ago To: portal_auto_lawyer@testmail.loprx.com \"Inbox from B, 2519822480\" - Tri01 Duc left a message in \"Check D...\" room"':
  - /url: /view/eAj6djHsKS45r7f8mDFJj7
  - strong: Summary (via Portal Assistant)
  - text: "2 days ago To: portal_auto_lawyer@testmail.loprx.com \"Inbox from B, 2519822480\" - Tri01 Duc left a message in \"Check D...\" room"
- 'link "Summary (via Portal Assistant) 2 days ago To: portal_auto_lawyer@testmail.loprx.com \"Reply from B, 3404614335\" - Tri01 Duc made a comment"':
  - /url: /view/Sg5yL5ZhnTPa4ThQMiwz26
  - strong: Summary (via Portal Assistant)
  - text: "2 days ago To: portal_auto_lawyer@testmail.loprx.com \"Reply from B, 3404614335\" - Tri01 Duc made a comment"
- 'link "Minh Phong (via Portal QA) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com Medical Bill #980637 - &*()_o2h Test27"':
  - /url: /view/gmncDsBDgu3no8YgK6kd5q
  - strong: Minh Phong (via Portal QA)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com Medical Bill #980637 - &*()_o2h Test27"
- 'link "Portal QA 2 days ago To: portal_auto_lawyer@testmail.loprx.com 972118 your passcode for signing in to Portal QA"':
  - /url: /view/T2LYBA7ZDUjCNj77meE37S
  - strong: Portal QA
  - text: "2 days ago To: portal_auto_lawyer@testmail.loprx.com 972118 your passcode for signing in to Portal QA"
- 'link "Portal QA 2 days ago To: portal_auto_lawyer@testmail.loprx.com Password Reset for the loprx.com"':
  - /url: /view/L7Bh74XqcK2euNhiumnYnk
  - strong: Portal QA
  - text: "2 days ago To: portal_auto_lawyer@testmail.loprx.com Password Reset for the loprx.com"
- 'link "Portal QA 2 days ago To: portal_auto_lawyer@testmail.loprx.com 361997 is your recovery code for the loprx.com"':
  - /url: /view/dSwSwsnqKJaV6TJ9QMVAjM
  - strong: Portal QA
  - text: "2 days ago To: portal_auto_lawyer@testmail.loprx.com 361997 is your recovery code for the loprx.com"
- 'link "Cron Daemon 2 days ago To: root@testmail.loprx.com Cron <root@portalautomationtesting> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )"':
  - /url: /view/knA2TofxsD59amjFFSxHPM
  - strong: Cron Daemon
  - text: "2 days ago To: root@testmail.loprx.com Cron <root@portalautomationtesting> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )"
- 'link "Portal QA 2 days ago To: portal_auto_pharmacy@testmail.loprx.com 896406 your passcode for signing in to Portal QA"':
  - /url: /view/gLqMoSwcoaGRHv25y3y64i
  - strong: Portal QA
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com 896406 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #281983 for Test Request Shared by Minh Phong"':
  - /url: /view/RmM9A9pAwDey5ie34eoL7a
  - strong: Minh Phong (via Portal QA)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #281983 for Test Request Shared by Minh Phong"
- 'link "Summary (via Portal Assistant) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 4140880419\" - Minh Phong added a comment"':
  - /url: /view/kRibT63vwmQdqoBkaFRs2q
  - strong: Summary (via Portal Assistant)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 4140880419\" - Minh Phong added a comment"
- 'link "Summary (via Portal Assistant) 2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 3854835132\" - Minh Phong posted a message in \"Newest ...\" room"':
  - /url: /view/nbhLthwCTX25b3zp5Ezwx9
  - strong: Summary (via Portal Assistant)
  - text: "2 days ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 3854835132\" - Minh Phong posted a message in \"Newest ...\" room"
- button " About"
- button ""
- table:
  - rowgroup:
    - row "From Summary (via Portal Assistant) <noreply@loprx.com>":
      - cell "From"
      - cell "Summary (via Portal Assistant) <noreply@loprx.com>":
        - text: Summary (via Portal Assistant) <
        - link "noreply@loprx.com":
          - /url: /search?q=noreply%40loprx.com
        - text: ">"
    - row "To <portal_auto_pharmacy@testmail.loprx.com>":
      - cell "To"
      - cell "<portal_auto_pharmacy@testmail.loprx.com>":
        - text: <
        - link "portal_auto_pharmacy@testmail.loprx.com":
          - /url: /search?q=portal_auto_pharmacy%40testmail.loprx.com
        - text: ">"
    - row "Bcc <test@localhost>":
      - cell "Bcc"
      - cell "<test@localhost>":
        - text: <
        - link "test@localhost":
          - /url: /search?q=test%40localhost
        - text: ">"
    - row "Return-Path <bounce+33c17c.e9ccd3-portal_auto_pharmacy=testmail.loprx.com@no-reply.loprx.com>":
      - cell "Return-Path"
      - cell "<bounce+33c17c.e9ccd3-portal_auto_pharmacy=testmail.loprx.com@no-reply.loprx.com>":
        - text: <
        - link "bounce+33c17c.e9ccd3-portal_auto_pharmacy=testmail.loprx.com@no-reply.loprx.com":
          - /url: /search?q=bounce%2B33c17c.e9ccd3-portal_auto_pharmacy%3Dtestmail.loprx.com%40no-reply.loprx.com
        - text: ">"
    - row "Subject \"Please check this comment 8964833598\" - Minh Phong made a comment":
      - cell "Subject"
      - cell "\"Please check this comment 8964833598\" - Minh Phong made a comment":
        - strong: "\"Please check this comment 8964833598\" - Minh Phong made a comment"
    - row "Date Mon, 2 Feb 2026, 3:10 am (30 kB)":
      - cell "Date"
      - cell "Mon, 2 Feb 2026, 3:10 am (30 kB)"
    - row "Tags":
      - cell "Tags"
      - cell:
        - combobox "Type a value"
- tablist:
  - tab "HTML" [selected]
  - tab "HTML Source"
  - tab "Text"
  - tab "Headers"
  - tab "Raw"
  - tab "HTML Check 85%"
  - tab "Link Check"
  - button ""
  - button ""
  - button "" [disabled]
- tabpanel "HTML":
  - iframe
```

# Test source

```ts
   1 | import { expect, Locator, Page } from "@playwright/test";
   2 |
   3 | const DEFAULT_VIEWPORT = { width: 1920, height: 1080 };
   4 |
   5 | export const verifyScreenshot = async (
   6 |     snapshotName: string,
   7 |     target: Page | Locator,
   8 |     mask?: Locator[],
   9 |     tolerance: number = 0,
  10 |     viewport: { width: number; height: number } = DEFAULT_VIEWPORT
  11 | ) => {
  12 |     const page = 'page' in target ? target.page() : target;
  13 |     await page.setViewportSize(viewport);
  14 |
  15 |     await page.waitForLoadState('domcontentloaded');
  16 |     await page.waitForTimeout(1_000);
  17 |
  18 |     await expect(async () => {
  19 |         expect(await target.screenshot({ mask })).toMatchSnapshot(snapshotName, {
  20 |             maxDiffPixelRatio: tolerance
  21 |         });
> 22 |     }).toPass();
     |        ^ Error: expect(Buffer).toMatchSnapshot(expected)
  23 | };
  24 |
  25 | export const takeScreenshot = async (snapshotName: string, target: Page | Locator, mask?: Locator[]) => {
  26 |     expect(await target.screenshot({
  27 |         mask
  28 |     })).toMatchSnapshot(snapshotName)
  29 | }
```