PI-1558 Update PSR extension to PDF when complete (#2384) #1774
25 tests run, 19 passed, 1 skipped, 5 failed.
Annotations
Check failure on line 50 in ts
github-actions / End-to-end test results
ts.Create an approved premises application
submit-application.spec.ts:24:1 Create an approved premises application
Raw output
[default] › approved-premises-and-delius/submit-application.spec.ts:24:1 › Create an approved premises application
Test timeout of 540000ms exceeded.
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('.govuk-link').filter({ hasText: 'Manage an Approved Premises' })
============================================================
at ../steps/approved-premises/login.ts:21
19 | await page.click('#submit')
20 | await expect(page).toHaveTitle(approvedPremisesTitle)
> 21 | await page.locator('.govuk-link', { hasText: 'Manage an Approved Premises' }).click()
| ^
22 | }
23 |
24 | export const navigateToApplications = async (page: Page) => {
at login (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/login.ts:21:83)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/approved-premises-and-delius/submit-application.spec.ts:47:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/approved-premises-and-delius-submit-application-Create-an-approved-premises-application-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('#main-content h1')
Expected pattern: /do they have a transgender history?/
Received string: "
Confirm your details
"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('#main-content h1')
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
at ../steps/approved-premises/applications/add-exemption-details.ts:18
16 | .fill('Test reason for application exemption')
17 | await page.locator('.govuk-button', { hasText: 'Save and continue' }).click()
> 18 | await expect(page.locator('#main-content h1')).toContainText(/do they have a transgender history?/)
| ^
19 | }
20 |
at addExemptionDetails (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/applications/add-exemption-details.ts:18:52)
at submitAPApplication (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/applications/submit-application-full.ts:42:5)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/approved-premises-and-delius/submit-application.spec.ts:50:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/approved-premises-and-delius-submit-application-Create-an-approved-premises-application-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('#main-content h1')
Expected pattern: /do they have a transgender history?/
Received string: "
Confirm your details
"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('#main-content h1')
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
at ../steps/approved-premises/applications/add-exemption-details.ts:18
16 | .fill('Test reason for application exemption')
17 | await page.locator('.govuk-button', { hasText: 'Save and continue' }).click()
> 18 | await expect(page.locator('#main-content h1')).toContainText(/do they have a transgender history?/)
| ^
19 | }
20 |
at addExemptionDetails (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/applications/add-exemption-details.ts:18:52)
at submitAPApplication (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/applications/submit-application-full.ts:42:5)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/approved-premises-and-delius/submit-application.spec.ts:50:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/approved-premises-and-delius-submit-application-Create-an-approved-premises-application-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 47 in ts
github-actions / End-to-end test results
ts.View OASys assessments in Approved Premises service
assessment-timeline.spec.ts:27:1 View OASys assessments in Approved Premises service
Raw output
[default] › approved-premises-and-oasys/assessment-timeline.spec.ts:27:1 › View OASys assessments in Approved Premises service
Test timeout of 540000ms exceeded.
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('.govuk-link').filter({ hasText: 'Manage an Approved Premises' })
============================================================
at ../steps/approved-premises/login.ts:21
19 | await page.click('#submit')
20 | await expect(page).toHaveTitle(approvedPremisesTitle)
> 21 | await page.locator('.govuk-link', { hasText: 'Manage an Approved Premises' }).click()
| ^
22 | }
23 |
24 | export const navigateToApplications = async (page: Page) => {
at login (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/login.ts:21:83)
at navigateToTaskListPage (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/applications/task-list.ts:81:5)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/approved-premises-and-oasys/assessment-timeline.spec.ts:47:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/approved-premises-and-oasys-assessment-timeline-View-OASys-assessments-in-Approved-Premises-service-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('#main-content h1')
Expected pattern: /do they have a transgender history?/
Received string: "
Confirm your details
"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('#main-content h1')
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
at ../steps/approved-premises/applications/add-exemption-details.ts:18
16 | .fill('Test reason for application exemption')
17 | await page.locator('.govuk-button', { hasText: 'Save and continue' }).click()
> 18 | await expect(page.locator('#main-content h1')).toContainText(/do they have a transgender history?/)
| ^
19 | }
20 |
at addExemptionDetails (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/applications/add-exemption-details.ts:18:52)
at navigateToTaskListPage (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/applications/task-list.ts:96:5)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/approved-premises-and-oasys/assessment-timeline.spec.ts:47:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/approved-premises-and-oasys-assessment-timeline-View-OASys-assessments-in-Approved-Premises-service-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('#main-content h1')
Expected pattern: /do they have a transgender history?/
Received string: "
Confirm your details
"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('#main-content h1')
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
- locator resolved to <h1 class="govuk-heading-l">↵ Confirm your details↵ </h1>
- unexpected value "
Confirm your details
"
at ../steps/approved-premises/applications/add-exemption-details.ts:18
16 | .fill('Test reason for application exemption')
17 | await page.locator('.govuk-button', { hasText: 'Save and continue' }).click()
> 18 | await expect(page.locator('#main-content h1')).toContainText(/do they have a transgender history?/)
| ^
19 | }
20 |
at addExemptionDetails (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/applications/add-exemption-details.ts:18:52)
at navigateToTaskListPage (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/approved-premises/applications/task-list.ts:96:5)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/approved-premises-and-oasys/assessment-timeline.spec.ts:47:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/approved-premises-and-oasys-assessment-timeline-View-OASys-assessments-in-Approved-Premises-service-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 31 in ts
github-actions / End-to-end test results
ts.Create a short format pre-sentence report
create-pre-sentence-report.spec.ts:14:1 Create a short format pre-sentence report
Raw output
[default] › pre-sentence-reports-to-delius/create-pre-sentence-report.spec.ts:14:1 › Create a short format pre-sentence report
Test timeout of 180000ms exceeded.
Error: page.waitForEvent: Page closed
=========================== logs ===========================
waiting for event "popup"
============================================================
29 |
30 | // When I complete the pre-sentence report in the popup window
> 31 | const popup = await page.waitForEvent('popup')
| ^
32 | await expect(popup).toHaveTitle(/Short Format Pre-Sentence Report - Home/)
33 | await popup.locator('text=Start now').click()
34 | // - Offender details
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/pre-sentence-reports-to-delius/create-pre-sentence-report.spec.ts:31:30
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/pre-sentence-reports-to-delius-create-pre-sentence-report-Create-a-short-format-pre-sentence-report-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 180000ms exceeded.
Error: page.waitForEvent: Page closed
=========================== logs ===========================
waiting for event "popup"
============================================================
29 |
30 | // When I complete the pre-sentence report in the popup window
> 31 | const popup = await page.waitForEvent('popup')
| ^
32 | await expect(popup).toHaveTitle(/Short Format Pre-Sentence Report - Home/)
33 | await popup.locator('text=Start now').click()
34 | // - Offender details
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/pre-sentence-reports-to-delius/create-pre-sentence-report.spec.ts:31:30
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/pre-sentence-reports-to-delius-create-pre-sentence-report-Create-a-short-format-pre-sentence-report-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 180000ms exceeded.
Error: page.waitForEvent: Page closed
=========================== logs ===========================
waiting for event "popup"
============================================================
29 |
30 | // When I complete the pre-sentence report in the popup window
> 31 | const popup = await page.waitForEvent('popup')
| ^
32 | await expect(popup).toHaveTitle(/Short Format Pre-Sentence Report - Home/)
33 | await popup.locator('text=Start now').click()
34 | // - Offender details
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/pre-sentence-reports-to-delius/create-pre-sentence-report.spec.ts:31:30
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/pre-sentence-reports-to-delius-create-pre-sentence-report-Create-a-short-format-pre-sentence-report-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
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 ──────
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/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
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 19 in ts
github-actions / End-to-end test results
ts.Create a referral and nsi is created in delius
create-referral.spec.ts:15:1 Create a referral and nsi is created in delius
Raw output
[default] › refer-and-monitor-and-delius/create-referral.spec.ts:15:1 › Create a referral and nsi is created in delius
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /\/referrals\/.*\/form/
Received string: "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/6336c5f6-9615-4588-9410-7ef8ea92ea93/prison-release-form"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/6336c5f6-9615-4588-9410-7ef8ea92ea93/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/6336c5f6-9615-4588-9410-7ef8ea92ea93/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/6336c5f6-9615-4588-9410-7ef8ea92ea93/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/6336c5f6-9615-4588-9410-7ef8ea92ea93/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/6336c5f6-9615-4588-9410-7ef8ea92ea93/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/6336c5f6-9615-4588-9410-7ef8ea92ea93/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/6336c5f6-9615-4588-9410-7ef8ea92ea93/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/6336c5f6-9615-4588-9410-7ef8ea92ea93/prison-release-form"
at ../steps/referandmonitor/referral.ts:35
33 | await page.locator('input[name="service-user-crn"]').fill(crn)
34 | await page.locator('text=Continue').click()
> 35 | await expect(page).toHaveURL(/\/referrals\/.*\/form/)
| ^
36 |
37 | // Navigate to personal details page
38 | await page.locator('text=Confirm their personal details').click()
at makeReferral (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/referandmonitor/referral.ts:35:24)
at createAndAssignReferral (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/refer-and-monitor-and-delius/common.ts:18:33)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/refer-and-monitor-and-delius/create-referral.spec.ts:19:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/refer-and-monitor-and-delius-create-referral-Create-a-referral-and-nsi-is-created-in-delius-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /\/referrals\/.*\/form/
Received string: "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8b2fc7d2-8c79-41bb-8675-4d04c04097fc/prison-release-form"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8b2fc7d2-8c79-41bb-8675-4d04c04097fc/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8b2fc7d2-8c79-41bb-8675-4d04c04097fc/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8b2fc7d2-8c79-41bb-8675-4d04c04097fc/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8b2fc7d2-8c79-41bb-8675-4d04c04097fc/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8b2fc7d2-8c79-41bb-8675-4d04c04097fc/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8b2fc7d2-8c79-41bb-8675-4d04c04097fc/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8b2fc7d2-8c79-41bb-8675-4d04c04097fc/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8b2fc7d2-8c79-41bb-8675-4d04c04097fc/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8b2fc7d2-8c79-41bb-8675-4d04c04097fc/prison-release-form"
at ../steps/referandmonitor/referral.ts:35
33 | await page.locator('input[name="service-user-crn"]').fill(crn)
34 | await page.locator('text=Continue').click()
> 35 | await expect(page).toHaveURL(/\/referrals\/.*\/form/)
| ^
36 |
37 | // Navigate to personal details page
38 | await page.locator('text=Confirm their personal details').click()
at makeReferral (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/referandmonitor/referral.ts:35:24)
at createAndAssignReferral (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/refer-and-monitor-and-delius/common.ts:18:33)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/refer-and-monitor-and-delius/create-referral.spec.ts:19:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/refer-and-monitor-and-delius-create-referral-Create-a-referral-and-nsi-is-created-in-delius-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /\/referrals\/.*\/form/
Received string: "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/e3c52c2d-d0aa-4ab3-af8a-26e9cde489c3/prison-release-form"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/e3c52c2d-d0aa-4ab3-af8a-26e9cde489c3/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/e3c52c2d-d0aa-4ab3-af8a-26e9cde489c3/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/e3c52c2d-d0aa-4ab3-af8a-26e9cde489c3/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/e3c52c2d-d0aa-4ab3-af8a-26e9cde489c3/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/e3c52c2d-d0aa-4ab3-af8a-26e9cde489c3/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/e3c52c2d-d0aa-4ab3-af8a-26e9cde489c3/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/e3c52c2d-d0aa-4ab3-af8a-26e9cde489c3/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/e3c52c2d-d0aa-4ab3-af8a-26e9cde489c3/prison-release-form"
- locator resolved to <html lang="en" class="govuk-template ">…</html>
- unexpected value "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/e3c52c2d-d0aa-4ab3-af8a-26e9cde489c3/prison-release-form"
at ../steps/referandmonitor/referral.ts:35
33 | await page.locator('input[name="service-user-crn"]').fill(crn)
34 | await page.locator('text=Continue').click()
> 35 | await expect(page).toHaveURL(/\/referrals\/.*\/form/)
| ^
36 |
37 | // Navigate to personal details page
38 | await page.locator('text=Confirm their personal details').click()
at makeReferral (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/referandmonitor/referral.ts:35:24)
at createAndAssignReferral (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/refer-and-monitor-and-delius/common.ts:18:33)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/refer-and-monitor-and-delius/create-referral.spec.ts:19:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/refer-and-monitor-and-delius-create-referral-Create-a-referral-and-nsi-is-created-in-delius-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────