# Test info

- Name: Feature case for request-listing >> REQ_052 - Resend mail
- Location: /root/code/portal-automation-test/tests/request/function.spec.ts:1748:9

# Error details

```
Error: expect(received).toContain(expected) // indexOf

Expected substring: "requests/281983"
Received string:    "https://qa.loprx.com/verify-passcode?email=portal_auto_pharmacy%40testmail.loprx.com"
    at /root/code/portal-automation-test/tests/request/function.spec.ts:1787:43
    at /root/code/portal-automation-test/tests/request/function.spec.ts:1767:9
```

# Page snapshot

```yaml
- link "MailpitMailpit":
  - /url: /
  - img "Mailpit"
  - text: Mailpit
- button " Mark unread"
- button " Delete"
- button " Download"
- link "":
  - /url: /view/acNSp24habCJmZwVFUjMS2
- link "":
  - /url: /view/Kyu9BkhDVQBsjMQnxYuQcb
- button " Return to inbox 1,550"
- 'link "Portal QA a few seconds 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 few seconds ago To: portal_auto_pharmacy@testmail.loprx.com 291015 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) a few seconds 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 few seconds ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #281983 Regarding Test Request"
- 'link "Summary (via Portal Assistant) 3 minutes 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: "3 minutes ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 6158247734\" - Minh Phong made a comment"
- 'link "Summary (via Portal Assistant) 4 minutes 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: "4 minutes 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) 4 minutes 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: "4 minutes 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) 11 minutes 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: "11 minutes 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) 11 minutes 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: "11 minutes 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) 11 minutes 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: "11 minutes 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 12 minutes ago To: portal_auto_pharmacy@testmail.loprx.com 807370 your passcode for signing in to Portal QA"':
  - /url: /view/eceVCWP3jfcZLfSgRejkVu
  - strong: Portal QA
  - text: "12 minutes ago To: portal_auto_pharmacy@testmail.loprx.com 807370 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) 12 minutes 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: "12 minutes ago To: portal_auto_pharmacy@testmail.loprx.com Minh Phong Shared Letter of Protection #918138 for John Doe 34274"
- 'link "Portal QA 13 minutes ago To: ducbui313@testmail.loprx.com 222404 your passcode for signing in to Portal QA"':
  - /url: /view/GbLQmXH4tvrJhxsrmsXyEF
  - strong: Portal QA
  - text: "13 minutes ago To: ducbui313@testmail.loprx.com 222404 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) 13 minutes 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: "13 minutes ago To: ducbui313@testmail.loprx.com Letter of Protection #630061 for Jason Sagtham Shared by Minh Phong"
- 'link "Minh Phong (via Portal QA) 19 minutes 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: "19 minutes ago To: portal_auto_pharmacy@testmail.loprx.com A Letter of Protection #275078 Shared with you (Patient: &*()_E0S Test27)"
- 'link "Summary (via Portal Assistant) 24 minutes 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: "24 minutes 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) 26 minutes 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: "26 minutes ago To: portal_auto_lawyer@testmail.loprx.com \"Reply from B, 3404614335\" - Tri01 Duc made a comment"
- 'link "Minh Phong (via Portal QA) an hour ago To: portal_auto_pharmacy@testmail.loprx.com Medical Bill #980637 - &*()_o2h Test27"':
  - /url: /view/gmncDsBDgu3no8YgK6kd5q
  - strong: Minh Phong (via Portal QA)
  - text: "an hour ago To: portal_auto_pharmacy@testmail.loprx.com Medical Bill #980637 - &*()_o2h Test27"
- 'link "Portal QA 3 hours ago To: portal_auto_lawyer@testmail.loprx.com 972118 your passcode for signing in to Portal QA"':
  - /url: /view/T2LYBA7ZDUjCNj77meE37S
  - strong: Portal QA
  - text: "3 hours ago To: portal_auto_lawyer@testmail.loprx.com 972118 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/L7Bh74XqcK2euNhiumnYnk
  - 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 361997 is your recovery code for the loprx.com"':
  - /url: /view/dSwSwsnqKJaV6TJ9QMVAjM
  - strong: Portal QA
  - text: "3 hours ago To: portal_auto_lawyer@testmail.loprx.com 361997 is your recovery code for the loprx.com"
- 'link "Cron Daemon 8 hours 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: "8 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 12 hours ago To: portal_auto_pharmacy@testmail.loprx.com 896406 your passcode for signing in to Portal QA"':
  - /url: /view/gLqMoSwcoaGRHv25y3y64i
  - strong: Portal QA
  - text: "12 hours ago To: portal_auto_pharmacy@testmail.loprx.com 896406 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) 12 hours 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: "12 hours ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #281983 for Test Request Shared by Minh Phong"
- 'link "Summary (via Portal Assistant) 12 hours 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: "12 hours ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 4140880419\" - Minh Phong added a comment"
- 'link "Summary (via Portal Assistant) 12 hours 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: "12 hours ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 3854835132\" - Minh Phong posted a message in \"Newest ...\" room"
- 'link "Minh Phong (via Portal QA) 12 hours ago To: portal_auto_pharmacy@testmail.loprx.com [+1] Letter of Protection #543267 Regarding John Doe 65423 1"':
  - /url: /view/SVuKQEyhTp9UQXkurmYWGp
  - strong: Minh Phong (via Portal QA)
  - text: "12 hours ago To: portal_auto_pharmacy@testmail.loprx.com [+1] Letter of Protection #543267 Regarding John Doe 65423"
  - link "1":
    - /url: /search?q=tag%3A1
- 'link "Minh Phong (via Portal QA) 12 hours ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #918138 Regarding John Doe 34274"':
  - /url: /view/6BPr4sTopAsYXb7qSojpym
  - strong: Minh Phong (via Portal QA)
  - text: "12 hours ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #918138 Regarding John Doe 34274"
- 'link "Portal QA 12 hours ago To: ducbui313@testmail.loprx.com 937717 your passcode for signing in to Portal QA"':
  - /url: /view/7bcLSiNCDnozSGodfmeGsb
  - strong: Portal QA
  - text: "12 hours ago To: ducbui313@testmail.loprx.com 937717 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) 12 hours ago To: ducbui313@testmail.loprx.com Letter of Protection #630061 for Jason Sagtham Shared by Minh Phong"':
  - /url: /view/RoX3RsWjj7UZTvP5YW2aEi
  - strong: Minh Phong (via Portal QA)
  - text: "12 hours ago To: ducbui313@testmail.loprx.com Letter of Protection #630061 for Jason Sagtham Shared by Minh Phong"
- 'link "Minh Phong (via Portal QA) 12 hours ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #275078 for &*()_E0S Test27 Shared by Minh Phong"':
  - /url: /view/etMraLsn2GLAwGcuPsemLr
  - strong: Minh Phong (via Portal QA)
  - text: "12 hours ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #275078 for &*()_E0S Test27 Shared by Minh Phong"
- 'link "Minh Phong (via Portal QA) 13 hours ago To: portal_auto_pharmacy@testmail.loprx.com Medical Bill #980637 Regarding &*()_o2h Test27"':
  - /url: /view/ctr8BBsiiJxRtuxWcgTJEC
  - strong: Minh Phong (via Portal QA)
  - text: "13 hours ago To: portal_auto_pharmacy@testmail.loprx.com Medical Bill #980637 Regarding &*()_o2h Test27"
- 'link "Portal QA 15 hours ago To: portal_auto_lawyer@testmail.loprx.com 764706 your passcode for signing in to Portal QA"':
  - /url: /view/SsAQVarFgQeoVLFtuhkqQg
  - strong: Portal QA
  - text: "15 hours ago To: portal_auto_lawyer@testmail.loprx.com 764706 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/jQvGmCE7ZfVGi7Katj5QSG
  - 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 184214 is your recovery code for the loprx.com"':
  - /url: /view/aYkNdTyED6ZgSXxVyDyBTB
  - strong: Portal QA
  - text: "15 hours ago To: portal_auto_lawyer@testmail.loprx.com 184214 is your recovery code for the loprx.com"
- 'link "Cron Daemon a day ago To: root@testmail.loprx.com Cron <root@portalautomationtesting> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )"':
  - /url: /view/9sH6z3NHAYcQtr8Az849py
  - strong: Cron Daemon
  - text: "a day ago To: root@testmail.loprx.com Cron <root@portalautomationtesting> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )"
- 'link "Portal QA a day ago To: portal_auto_pharmacy@testmail.loprx.com 350103 your passcode for signing in to Portal QA"':
  - /url: /view/fTTQczmUp8AEyNffRAhMAU
  - strong: Portal QA
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com 350103 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) a day ago To: portal_auto_pharmacy@testmail.loprx.com Minh Phong Shared Letter of Protection #281983 for Test Request"':
  - /url: /view/U5hwRMrZsxGf2hQx3UMDfP
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com Minh Phong Shared Letter of Protection #281983 for Test Request"
- 'link "Summary (via Portal Assistant) a day ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 8259675325\" - Minh Phong added a comment"':
  - /url: /view/5QVvV5CzEq5H3SemuuG23K
  - strong: Summary (via Portal Assistant)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this comment 8259675325\" - Minh Phong added a comment"
- 'link "Summary (via Portal Assistant) a day ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 7172553595\" - Minh Phong posted a message in \"Newest ...\" room"':
  - /url: /view/C69kupfDZmsgyY86sR8xHh
  - strong: Summary (via Portal Assistant)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com \"Please check this discusssion 7172553595\" - Minh Phong posted a message in \"Newest ...\" room"
- 'link "Minh Phong (via Portal QA) a day ago To: portal_auto_pharmacy@testmail.loprx.com [+1] Letter of Protection #543267 - John Doe 65423 1"':
  - /url: /view/fxpEHMtG3LB4DUu4PSNNQ4
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com [+1] Letter of Protection #543267 - John Doe 65423"
  - link "1":
    - /url: /search?q=tag%3A1
- 'link "Portal QA a day ago To: portal_auto_pharmacy@testmail.loprx.com 438679 your passcode for signing in to Portal QA"':
  - /url: /view/aZPniyD2Kj4J7eJuUofUCn
  - strong: Portal QA
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com 438679 your passcode for signing in to Portal QA"
- 'link "Minh Phong (via Portal QA) a day ago To: portal_auto_pharmacy@testmail.loprx.com \"This is message for test notification in...\" (from Minh Phong): Letter of Protection #543267 for John Doe 65423"':
  - /url: /view/fcn7RsDsjQQpXWSBqhreSY
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com \"This is message for test notification in...\" (from Minh Phong): Letter of Protection #543267 for John Doe 65423"
- 'link "Summary (via Portal Assistant) a day ago To: portal_auto_pharmacy@testmail.loprx.com \"This is message for test notification in mail\" - Minh Phong shared a message in \"Room 1\" room"':
  - /url: /view/a2BJMK3wsCGojMpUeyyzcj
  - strong: Summary (via Portal Assistant)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com \"This is message for test notification in mail\" - Minh Phong shared a message in \"Room 1\" room"
- 'link "Portal QA a day ago To: portal_auto_pharmacy@testmail.loprx.com 139952 your passcode for signing in to Portal QA"':
  - /url: /view/nEtTtJLnucLyWYQAAAMG99
  - strong: Portal QA
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com 139952 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 #918138 - Patient: John Doe 34274"':
  - /url: /view/3wSihHBC6ix3twczXZ4htb
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #918138 - Patient: John Doe 34274"
- 'link "Portal QA a day ago To: ducbui313@testmail.loprx.com 690832 your passcode for signing in to Portal QA"':
  - /url: /view/FTTa32ekPkReSFNhaxpgzv
  - strong: Portal QA
  - text: "a day ago To: ducbui313@testmail.loprx.com 690832 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/BgUMTcxJXwYhkf67GGFVrr
  - 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 for &*()_E0S Test27 Shared by Minh Phong"':
  - /url: /view/UytY5ra2yNbMGMJX8DDQkm
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com Letter of Protection #275078 for &*()_E0S Test27 Shared by Minh Phong"
- 'link "Summary (via Portal Assistant) a day ago To: portal_auto_lawyer@testmail.loprx.com \"Inbox from B, 1700488163\" - Tri01 Duc placed a message in \"Check D...\" room"':
  - /url: /view/e8se7zjUqMGg8ehZLwd4SU
  - strong: Summary (via Portal Assistant)
  - text: "a day ago To: portal_auto_lawyer@testmail.loprx.com \"Inbox from B, 1700488163\" - Tri01 Duc placed a message in \"Check D...\" room"
- 'link "Summary (via Portal Assistant) a day ago To: portal_auto_lawyer@testmail.loprx.com \"Reply from B, 2347923670\" - Tri01 Duc added a comment"':
  - /url: /view/5tgKnXyr2pcqsECM8Y7fg6
  - strong: Summary (via Portal Assistant)
  - text: "a day ago To: portal_auto_lawyer@testmail.loprx.com \"Reply from B, 2347923670\" - Tri01 Duc added a comment"
- 'link "Minh Phong (via Portal QA) a day ago To: portal_auto_pharmacy@testmail.loprx.com Information on Medical Bill #980637 for &*()_o2h Test27"':
  - /url: /view/PvZMgdBqNSS437afetybCp
  - strong: Minh Phong (via Portal QA)
  - text: "a day ago To: portal_auto_pharmacy@testmail.loprx.com Information on Medical Bill #980637 for &*()_o2h Test27"
- 'link "Portal QA a day ago To: portal_auto_lawyer@testmail.loprx.com 925248 your passcode for signing in to Portal QA"':
  - /url: /view/ax8Mk6S3EoDRpdooMKESiq
  - strong: Portal QA
  - text: "a day ago To: portal_auto_lawyer@testmail.loprx.com 925248 your passcode for signing in to Portal QA"
- button " About"
- button ""
- table:
  - rowgroup:
    - row "From Minh Phong (via Portal QA) <support@loprx.com>":
      - cell "From"
      - cell "Minh Phong (via Portal QA) <support@loprx.com>":
        - text: Minh Phong (via Portal QA) <
        - link "support@loprx.com":
          - /url: /search?q=support%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 "Reply-To <minhphong.simple@gmail.com>":
      - cell "Reply-To"
      - cell "<minhphong.simple@gmail.com>":
        - text: <
        - link "minhphong.simple@gmail.com":
          - /url: /search?q=minhphong.simple%40gmail.com
        - 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 Letter of Protection #281983 Regarding Test Request"':
      - cell "Subject"
      - 'cell "Letter of Protection #281983 Regarding Test Request"':
        - strong: "Letter of Protection #281983 Regarding Test Request"
    - row "Date Sat, 31 Jan 2026, 3:11 pm (34 kB)":
      - cell "Date"
      - cell "Sat, 31 Jan 2026, 3:11 pm (34 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 87%"
  - tab "Link Check"
  - button ""
  - button ""
  - button "" [disabled]
- tabpanel "HTML":
  - iframe
- alert:
  - text: 
  - strong:
    - link "New message":
      - /url: /view/acNSp24habCJmZwVFUjMS2
  - button "Close"
  - link "291015 your passcode for signing in to Portal QA":
    - /url: /view/acNSp24habCJmZwVFUjMS2
```

# Test source

```ts
  1687 |
  1688 |             // Clear existing content and set form options
  1689 |             await formContent.getByText('Dr. Jason Phan').dblclick();
  1690 |             await formContent.locator('body').press('ControlOrMeta+a');
  1691 |             await formContent.locator('body').press('Delete');
  1692 |
  1693 |             // Check all language options
  1694 |             const languageOptions = ['Vietnamese', 'Chinese', 'Spanish'];
  1695 |             for (const lang of languageOptions) {
  1696 |                 await formContent.getByRole('checkbox', { name: `Label in ${lang}` }).check();
  1697 |             }
  1698 |
  1699 |             await requestPage.requestLoc.create.closeModalMessage.click();
  1700 |             await requestPage.submitAndVerifyRequest("post-details-create-template-form-snapshot.png");
  1701 |         });
  1702 |     });
  1703 |
  1704 |     test.skip("REQ_051 - Add more than 20 requests to the cart and create multiple requests", {
  1705 |         tag: ["@REQ_051", "@request", "@function"]
  1706 |     }, async ({ conf, checkCart }) => {
  1707 |         test.setTimeout(300_000);
  1708 |         const businesses = ["(Dat Lawyers)", "The Vu Law Firm", "A Taylor Law Firm"];
  1709 |         await test.step("Add 24 requests by hovering in case id to cart", async () => {
  1710 |             await checkCart.search(conf.data.request);
  1711 |             await expect(checkCart.dashboardLoc.table.itemInRow(conf.data.case)).toBeVisible();
  1712 |             await checkCart.waitForSecond(1);
  1713 |             await checkCart.dashboardLoc.table.itemInRow(conf.data.case).hover();
  1714 |             for (let i = 0; i < businesses.length; i++) {
  1715 |                 await checkCart.requestLoc.detail.cartRequest.optionBusinessInCart(businesses[i]).click();
  1716 |                 for (let j = 0; j < 8; j++) {
  1717 |                     await checkCart.requestLoc.detail.cartRequest.listRequestTypeByHovering.first().click();
  1718 |                 }
  1719 |             }
  1720 |             await checkCart.page.mouse.move(30, 30);
  1721 |             await expect(checkCart.requestLoc.detail.cartRequest.quickSubmitButton("24")).toBeVisible();
  1722 |         })
  1723 |
  1724 |         await test.step("Submit 24 requests, and verify that only 20 are successfully added to the cart, with 4 remaining", async () => {
  1725 |             await requestPage.handleMissingInfoPopup();
  1726 |
  1727 |             await checkCart.requestLoc.detail.cartRequest.quickSubmitButton("24").click();
  1728 |             await requestPage.requestLoc.create.inputCheckAll("action").click();
  1729 |
  1730 |             //Add message
  1731 |             await requestPage.requestLoc.create.itemStep(4).first().click();
  1732 |             await requestPage.requestLoc.textEditorCreateCaseArea.first().waitFor({ state: 'visible' });
  1733 |             await requestPage.requestLoc.textEditorCreateCaseArea.fill("Message");
  1734 |
  1735 |             await requestPage.requestLoc.create.inputCheckAll("message").click();
  1736 |             await checkCart.dashboardLoc.buttonByText("Create").first().click();
  1737 |             await expect(checkCart.dashboardLoc.buttonByText("Create Another")).toBeVisible({ timeout: 250_000 }); // Create 20 request in once can take longer time
  1738 |
  1739 |             //Verify cart have 4 requests left
  1740 |             await checkCart.dashboardLoc.cart.buttonCart.hover({ force: true });
  1741 |             await expect(checkCart.dashboardLoc.cart.requestButtonCart).toBeVisible();
  1742 |             await checkCart.dashboardLoc.cart.requestButtonCart.click();
  1743 |             await expect(checkCart.requestLoc.detail.cartRequest.tdInTable("A Taylor Law Firm").first()).toBeVisible();
  1744 |             await verifyScreenshot('list-request-left-4-requests.png', checkCart.requestLoc.create.overviewCreateFast);
  1745 |         });
  1746 |     });
  1747 |
  1748 |     test("REQ_052 - Resend mail", {
  1749 |         tag: ["@REQ_052", "@request", "@function"]
  1750 |     }, async ({ conf, request, browser }) => {
  1751 |         await test.step("Click resend mail", async () => {
  1752 |             await requestPage.getDetailCase(conf.data.case);
  1753 |             await expect(requestPage.dashboardLoc.buttonByText("Share")).toBeVisible();
  1754 |
  1755 |             await requestPage.dashboardLoc.buttonByText("Share").click();
  1756 |             await expect(requestPage.dashboardLoc.modal.headerModal("Share with others")).toBeVisible();
  1757 |             await expect(requestPage.requestLoc.detail.rowMemberShare(conf.data.member_share)).toBeVisible();
  1758 |
  1759 |             await requestPage.requestLoc.detail.rowMemberShare(conf.data.member_share).hover();
  1760 |             await requestPage.requestLoc.detail.btnResend.first().click();
  1761 |             await expect(requestPage.requestLoc.detail.tagMemberShared(conf.data.member_share)).toBeVisible();
  1762 |
  1763 |             await requestPage.requestLoc.detail.rowMemberShare(conf.data.member_share).hover();
  1764 |             await expect(requestPage.requestLoc.detail.btnResend.first()).not.toBeVisible();
  1765 |         });
  1766 |
  1767 |         await test.step("Verify submit and email received", async () => {
  1768 |             await requestPage.dashboardLoc.buttonByText("Done").first().click();
  1769 |             await expect(requestPage.dashboardLoc.msgSuccess).toBeVisible();
  1770 |             await requestPage.page.close();
  1771 |
  1772 |             const newContext = await browser.newContext();
  1773 |             const newPage = await newContext.newPage();
  1774 |
  1775 |             const mail = new Mail(newPage, request);
  1776 |             await mail.open();
  1777 |             await mail.waitForSecond(conf.data.wait_for_email_second);
  1778 |
  1779 |             // Find and verify the share email
  1780 |             await mail.mailLoc.titleMail(`Letter of Protection #${conf.data.case}`).first().click();
  1781 |             const mailFrame = mail.mailLoc.mailFrame;
  1782 |             await mail.waitForSecond(2);
  1783 |
  1784 |             const buttonOpenRequest = mailFrame.locator('//a[contains(text(),"Open")]');
  1785 |             const newTabPage = await requestPage.openLinkAndCompletePasscode(requestPage, request, buttonOpenRequest);
  1786 |             await newTabPage.waitForSecond(3);
> 1787 |             expect(newTabPage.page.url()).toContain(`requests/${conf.data.case}`);
       |                                           ^ Error: expect(received).toContain(expected) // indexOf
  1788 |         });
  1789 |     });
  1790 |
  1791 |     test("REQ_053 - Verify when click in the Sent Summary", {
  1792 |         tag: ["@REQ_053", "@request", "@function"]
  1793 |     }, async ({ conf }) => {
  1794 |         await test.step("Open Sent Summary modal", async () => {
  1795 |             await requestPage.getDetailCase(conf.data.case);
  1796 |             await requestPage.requestLoc.detail.btnShare.click();
  1797 |             await expect(requestPage.dashboardLoc.buttonLinkByText("Sent Summary")).toBeVisible();
  1798 |         });
  1799 |
  1800 |         await test.step("Verify when click Sent Summary", async () => {
  1801 |             await requestPage.dashboardLoc.buttonLinkByText("Sent Summary").click();
  1802 |             await expect(requestPage.page.url()).toContain(`/requests/sent?request_id=${conf.data.case}`);
  1803 |             await expect(requestPage.dashboardLoc.table.boxSelectedFilter(conf.data.case)).toBeVisible();
  1804 |         });
  1805 |     });
  1806 | });
  1807 |
```