PI-1561 Handle multiple Duty to Refer NSIs (#2390) #1780
GitHub Actions / End-to-end test results
failed
Oct 17, 2023 in 0s
25 tests run, 23 passed, 1 skipped, 1 failed.
Annotations
Check failure on line 41 in ts
github-actions / End-to-end test results
ts.Create a new case note
case-notes.spec.ts:15:1 Create a new case note
Raw output
[default] › prison-case-notes-to-probation/case-notes.spec.ts:15:1 › Create a new case note ──────
Test timeout of 180000ms exceeded.
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/prison-case-notes-to-probation-case-notes-Create-a-new-case-note-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('tr').filter({ hasText: 'NOMIS case note - offender supervisor entry' }).first()
Expected string: "Adult Custody < 12m"
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('tr').filter({ hasText: 'NOMIS case note - offender supervisor entry' }).first()
at ../steps/delius/contact/find-contacts.ts:41
39 | }
40 |
> 41 | await expect(matchingContactRecord).toContainText(contact.relatesTo)
| ^
42 | await expect(matchingContactRecord).toContainText(contact.type)
43 |
44 | if (contact.allocation) {
at verifyContact (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/contact/find-contacts.ts:41:41)
at verifyContacts (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/contact/find-contacts.ts:18:15)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-case-notes-to-probation/case-notes.spec.ts:41:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/prison-case-notes-to-probation-case-notes-Create-a-new-case-note-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('tr').filter({ hasText: 'NOMIS case note - offender supervisor entry' }).first()
Expected string: "Adult Custody < 12m"
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('tr').filter({ hasText: 'NOMIS case note - offender supervisor entry' }).first()
at ../steps/delius/contact/find-contacts.ts:41
39 | }
40 |
> 41 | await expect(matchingContactRecord).toContainText(contact.relatesTo)
| ^
42 | await expect(matchingContactRecord).toContainText(contact.type)
43 |
44 | if (contact.allocation) {
at verifyContact (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/contact/find-contacts.ts:41:41)
at verifyContacts (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/contact/find-contacts.ts:18:15)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-case-notes-to-probation/case-notes.spec.ts:41:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/prison-case-notes-to-probation-case-notes-Create-a-new-case-note-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Loading