PI-1493 Enable hmpps-auth-and-delius deployments + improve docs (#2359) #1749
24 tests run, 11 passed, 2 skipped, 11 failed.
Annotations
Check failure on line 47 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.
Pending operations:
- locator.click at steps/approved-premises/login.ts:21:83
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 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 540000ms exceeded.
Pending operations:
- locator.click at steps/approved-premises/login.ts:21:83
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-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 540000ms exceeded.
Pending operations:
- locator.click at steps/approved-premises/login.ts:21:83
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-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.
Pending operations:
- locator.click at steps/approved-premises/login.ts:21:83
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 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 540000ms exceeded.
Pending operations:
- locator.click at steps/approved-premises/login.ts:21:83
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-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 540000ms exceeded.
Pending operations:
- locator.click at steps/approved-premises/login.ts:21:83
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-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 18 in ts
github-actions / End-to-end test results
ts.Create and search for a person
search-for-person.spec.ts:9:1 Create and search for a person
Raw output
[default] › offender-events-and-delius/search-for-person.spec.ts:9:1 › Create and search for a person
Test timeout of 180000ms exceeded.
Pending operations:
- locator.fill at tests/offender-events-and-delius/search-for-person.spec.ts:18:41
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/offender-events-and-delius-search-for-person-Create-and-search-for-a-person-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 180000ms exceeded.
Pending operations:
- locator.fill at tests/offender-events-and-delius/search-for-person.spec.ts:18:41
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/offender-events-and-delius-search-for-person-Create-and-search-for-a-person-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 180000ms exceeded.
Pending operations:
- locator.fill at tests/offender-events-and-delius/search-for-person.spec.ts:18:41
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/offender-events-and-delius-search-for-person-Create-and-search-for-a-person-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 22 in ts
github-actions / End-to-end test results
ts.Create and search for a person
search-for-person.spec.ts:13:1 Create and search for a person
Raw output
[default] › person-search-index-from-delius/search-for-person.spec.ts:13:1 › Create and search for a person
Test timeout of 180000ms exceeded.
Pending operations:
- locator.fill at tests/person-search-index-from-delius/search-for-person.spec.ts:22:41
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/person-search-index-from-delius-search-for-person-Create-and-search-for-a-person-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 180000ms exceeded.
Pending operations:
- locator.fill at tests/person-search-index-from-delius/search-for-person.spec.ts:22:41
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/person-search-index-from-delius-search-for-person-Create-and-search-for-a-person-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 180000ms exceeded.
Pending operations:
- locator.fill at tests/person-search-index-from-delius/search-for-person.spec.ts:22:41
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/person-search-index-from-delius-search-for-person-Create-and-search-for-a-person-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 26 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: Failed after 3 attempts
at ../steps/api/utils/api-utils.ts:20
18 | if (++attempts > retryCount) {
19 | console.error(`Failed after ${attempts} attempts`, error)
> 20 | throw new Error(`Failed after ${attempts} attempts`)
| ^
21 | }
22 | console.error(`Retrying error...`, error)
23 | return await retryFn(...args)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:20:23)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at createAndBookPrisoner (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/dps/prison-api.ts:24:23)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-case-notes-to-probation/case-notes.spec.ts:26:25
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: Failed after 3 attempts
at ../steps/api/utils/api-utils.ts:20
18 | if (++attempts > retryCount) {
19 | console.error(`Failed after ${attempts} attempts`, error)
> 20 | throw new Error(`Failed after ${attempts} attempts`)
| ^
21 | }
22 | console.error(`Retrying error...`, error)
23 | return await retryFn(...args)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:20:23)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at createAndBookPrisoner (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/dps/prison-api.ts:24:23)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-case-notes-to-probation/case-notes.spec.ts:26:25
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: Failed after 3 attempts
at ../steps/api/utils/api-utils.ts:20
18 | if (++attempts > retryCount) {
19 | console.error(`Failed after ${attempts} attempts`, error)
> 20 | throw new Error(`Failed after ${attempts} attempts`)
| ^
21 | }
22 | console.error(`Retrying error...`, error)
23 | return await retryFn(...args)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:20:23)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at createAndBookPrisoner (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/dps/prison-api.ts:24:23)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-case-notes-to-probation/case-notes.spec.ts:26:25
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 31 in ts
github-actions / End-to-end test results
ts.Release and recall test
release-recall-test.spec.ts:20:1 Release and recall test
Raw output
[default] › prison-custody-status-to-delius/release-recall-test.spec.ts:20:1 › Release and recall test
Error: Failed after 3 attempts
at ../steps/api/utils/api-utils.ts:20
18 | if (++attempts > retryCount) {
19 | console.error(`Failed after ${attempts} attempts`, error)
> 20 | throw new Error(`Failed after ${attempts} attempts`)
| ^
21 | }
22 | console.error(`Retrying error...`, error)
23 | return await retryFn(...args)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:20:23)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at createAndBookPrisoner (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/dps/prison-api.ts:24:23)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-custody-status-to-delius/release-recall-test.spec.ts:31:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/prison-custody-status-to-delius-release-recall-test-Release-and-recall-test-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Failed after 3 attempts
at ../steps/api/utils/api-utils.ts:20
18 | if (++attempts > retryCount) {
19 | console.error(`Failed after ${attempts} attempts`, error)
> 20 | throw new Error(`Failed after ${attempts} attempts`)
| ^
21 | }
22 | console.error(`Retrying error...`, error)
23 | return await retryFn(...args)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:20:23)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at createAndBookPrisoner (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/dps/prison-api.ts:24:23)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-custody-status-to-delius/release-recall-test.spec.ts:31:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/prison-custody-status-to-delius-release-recall-test-Release-and-recall-test-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Failed after 3 attempts
at ../steps/api/utils/api-utils.ts:20
18 | if (++attempts > retryCount) {
19 | console.error(`Failed after ${attempts} attempts`, error)
> 20 | throw new Error(`Failed after ${attempts} attempts`)
| ^
21 | }
22 | console.error(`Retrying error...`, error)
23 | return await retryFn(...args)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:20:23)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at createAndBookPrisoner (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/dps/prison-api.ts:24:23)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-custody-status-to-delius/release-recall-test.spec.ts:31:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/prison-custody-status-to-delius-release-recall-test-Release-and-recall-test-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(received).toHaveURL(expected)
Expected pattern: /\/referrals\/.*\/form/
Received string: "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/8cbf2ce4-0dd8-4528-ab49-dcaf81459976/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/8cbf2ce4-0dd8-4528-ab49-dcaf81459976/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/8cbf2ce4-0dd8-4528-ab49-dcaf81459976/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/8cbf2ce4-0dd8-4528-ab49-dcaf81459976/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/8cbf2ce4-0dd8-4528-ab49-dcaf81459976/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/8cbf2ce4-0dd8-4528-ab49-dcaf81459976/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/8cbf2ce4-0dd8-4528-ab49-dcaf81459976/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/8cbf2ce4-0dd8-4528-ab49-dcaf81459976/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/8cbf2ce4-0dd8-4528-ab49-dcaf81459976/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(received).toHaveURL(expected)
Expected pattern: /\/referrals\/.*\/form/
Received string: "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/37428e82-37d9-46a7-b399-a2cfc6455e5d/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/37428e82-37d9-46a7-b399-a2cfc6455e5d/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/37428e82-37d9-46a7-b399-a2cfc6455e5d/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/37428e82-37d9-46a7-b399-a2cfc6455e5d/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/37428e82-37d9-46a7-b399-a2cfc6455e5d/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/37428e82-37d9-46a7-b399-a2cfc6455e5d/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/37428e82-37d9-46a7-b399-a2cfc6455e5d/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/37428e82-37d9-46a7-b399-a2cfc6455e5d/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/37428e82-37d9-46a7-b399-a2cfc6455e5d/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/37428e82-37d9-46a7-b399-a2cfc6455e5d/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(received).toHaveURL(expected)
Expected pattern: /\/referrals\/.*\/form/
Received string: "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/31420420-206f-4dce-a34a-3d04182f5a85/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/31420420-206f-4dce-a34a-3d04182f5a85/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/31420420-206f-4dce-a34a-3d04182f5a85/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/31420420-206f-4dce-a34a-3d04182f5a85/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/31420420-206f-4dce-a34a-3d04182f5a85/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/31420420-206f-4dce-a34a-3d04182f5a85/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/31420420-206f-4dce-a34a-3d04182f5a85/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/31420420-206f-4dce-a34a-3d04182f5a85/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/31420420-206f-4dce-a34a-3d04182f5a85/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/31420420-206f-4dce-a34a-3d04182f5a85/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
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 38 in ts
github-actions / End-to-end test results
ts.Create a UPW-Assessment from Delius and verify the Pdf is uploaded back to Delius
create-upw-assessment.spec.ts:21:1 Create a UPW-Assessment from Delius and verify the Pdf is uploaded back to Delius
Raw output
[default] › unpaid-work-and-delius/create-upw-assessment.spec.ts:21:1 › Create a UPW-Assessment from Delius and verify the Pdf is uploaded back to Delius
Error: Failed after 3 attempts
at ../steps/api/utils/api-utils.ts:20
18 | if (++attempts > retryCount) {
19 | console.error(`Failed after ${attempts} attempts`, error)
> 20 | throw new Error(`Failed after ${attempts} attempts`)
| ^
21 | }
22 | console.error(`Retrying error...`, error)
23 | return await retryFn(...args)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:20:23)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at createAndBookPrisoner (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/dps/prison-api.ts:24:23)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/unpaid-work-and-delius/create-upw-assessment.spec.ts:38:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/unpaid-work-and-delius-create-upw-assessment-C-d7db7-s-and-verify-the-Pdf-is-uploaded-back-to-Delius-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Failed after 3 attempts
at ../steps/api/utils/api-utils.ts:20
18 | if (++attempts > retryCount) {
19 | console.error(`Failed after ${attempts} attempts`, error)
> 20 | throw new Error(`Failed after ${attempts} attempts`)
| ^
21 | }
22 | console.error(`Retrying error...`, error)
23 | return await retryFn(...args)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:20:23)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at createAndBookPrisoner (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/dps/prison-api.ts:24:23)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/unpaid-work-and-delius/create-upw-assessment.spec.ts:38:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/unpaid-work-and-delius-create-upw-assessment-C-d7db7-s-and-verify-the-Pdf-is-uploaded-back-to-Delius-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Failed after 3 attempts
at ../steps/api/utils/api-utils.ts:20
18 | if (++attempts > retryCount) {
19 | console.error(`Failed after ${attempts} attempts`, error)
> 20 | throw new Error(`Failed after ${attempts} attempts`)
| ^
21 | }
22 | console.error(`Retrying error...`, error)
23 | return await retryFn(...args)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:20:23)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at retryFn (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/utils/api-utils.ts:23:20)
at createAndBookPrisoner (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/api/dps/prison-api.ts:24:23)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/unpaid-work-and-delius/create-upw-assessment.spec.ts:38:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/unpaid-work-and-delius-create-upw-assessment-C-d7db7-s-and-verify-the-Pdf-is-uploaded-back-to-Delius-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 51 in ts
github-actions / End-to-end test results
ts.Allocate new person
allocate-new-person.spec.ts:34:1 Allocate new person
Raw output
[default] › workforce-allocations-to-delius/allocate-new-person.spec.ts:34:1 › Allocate new person
Test timeout of 540000ms exceeded.
Pending operations:
- locator.check at steps/workforce/allocations.ts:29:10
Error: locator.check: Target closed
=========================== logs ===========================
waiting for locator('tr').filter({ hasText: 'Coco Pint' }).getByRole('radio')
============================================================
at ../steps/workforce/allocations.ts:29
27 | .locator('tr', { hasText: `${allocation.staff.firstName} ${allocation.staff.lastName}` })
28 | .getByRole('radio')
> 29 | .check()
| ^
30 | await page.locator('button', { hasText: 'Continue' }).click()
31 |
32 | // Confirm allocation
at allocateCase (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/workforce/allocations.ts:29:10)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/workforce-allocations-to-delius/allocate-new-person.spec.ts:51:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-new-person-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-new-person-default/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 540000ms exceeded.
Pending operations:
- locator.check at steps/workforce/allocations.ts:29:10
Error: locator.check: Page closed
=========================== logs ===========================
waiting for locator('tr').filter({ hasText: 'Coco Pint' }).getByRole('radio')
============================================================
at ../steps/workforce/allocations.ts:29
27 | .locator('tr', { hasText: `${allocation.staff.firstName} ${allocation.staff.lastName}` })
28 | .getByRole('radio')
> 29 | .check()
| ^
30 | await page.locator('button', { hasText: 'Continue' }).click()
31 |
32 | // Confirm allocation
at allocateCase (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/workforce/allocations.ts:29:10)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/workforce-allocations-to-delius/allocate-new-person.spec.ts:51:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-new-person-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-new-person-default-retry1/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 540000ms exceeded.
Pending operations:
- locator.check at steps/workforce/allocations.ts:29:10
Error: locator.check: Page closed
=========================== logs ===========================
waiting for locator('tr').filter({ hasText: 'Coco Pint' }).getByRole('radio')
============================================================
at ../steps/workforce/allocations.ts:29
27 | .locator('tr', { hasText: `${allocation.staff.firstName} ${allocation.staff.lastName}` })
28 | .getByRole('radio')
> 29 | .check()
| ^
30 | await page.locator('button', { hasText: 'Continue' }).click()
31 |
32 | // Confirm allocation
at allocateCase (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/workforce/allocations.ts:29:10)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/workforce-allocations-to-delius/allocate-new-person.spec.ts:51:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-new-person-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-new-person-default-retry2/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 79 in ts
github-actions / End-to-end test results
ts.Allocate currently-managed person
allocate-new-person.spec.ts:65:1 Allocate currently-managed person
Raw output
[default] › workforce-allocations-to-delius/allocate-new-person.spec.ts:65:1 › Allocate currently-managed person
Test timeout of 540000ms exceeded.
Pending operations:
- locator.check at steps/workforce/allocations.ts:29:10
Error: locator.check: Page closed
=========================== logs ===========================
waiting for locator('tr').filter({ hasText: 'Coco Pint' }).getByRole('radio')
============================================================
at ../steps/workforce/allocations.ts:29
27 | .locator('tr', { hasText: `${allocation.staff.firstName} ${allocation.staff.lastName}` })
28 | .getByRole('radio')
> 29 | .check()
| ^
30 | await page.locator('button', { hasText: 'Continue' }).click()
31 |
32 | // Confirm allocation
at allocateCase (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/workforce/allocations.ts:29:10)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/workforce-allocations-to-delius/allocate-new-person.spec.ts:79:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-currently-managed-person-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-currently-managed-person-default/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 540000ms exceeded.
Pending operations:
- locator.check at steps/workforce/allocations.ts:29:10
Error: locator.check: Page closed
=========================== logs ===========================
waiting for locator('tr').filter({ hasText: 'Coco Pint' }).getByRole('radio')
============================================================
at ../steps/workforce/allocations.ts:29
27 | .locator('tr', { hasText: `${allocation.staff.firstName} ${allocation.staff.lastName}` })
28 | .getByRole('radio')
> 29 | .check()
| ^
30 | await page.locator('button', { hasText: 'Continue' }).click()
31 |
32 | // Confirm allocation
at allocateCase (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/workforce/allocations.ts:29:10)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/workforce-allocations-to-delius/allocate-new-person.spec.ts:79:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-currently-managed-person-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-currently-managed-person-default-retry1/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 540000ms exceeded.
Pending operations:
- locator.check at steps/workforce/allocations.ts:29:10
Error: locator.check: Page closed
=========================== logs ===========================
waiting for locator('tr').filter({ hasText: 'Coco Pint' }).getByRole('radio')
============================================================
at ../steps/workforce/allocations.ts:29
27 | .locator('tr', { hasText: `${allocation.staff.firstName} ${allocation.staff.lastName}` })
28 | .getByRole('radio')
> 29 | .check()
| ^
30 | await page.locator('button', { hasText: 'Continue' }).click()
31 |
32 | // Confirm allocation
at allocateCase (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/workforce/allocations.ts:29:10)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/workforce-allocations-to-delius/allocate-new-person.spec.ts:79:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-currently-managed-person-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-currently-managed-person-default-retry2/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 108 in ts
github-actions / End-to-end test results
ts.Allocate previously-managed person
allocate-new-person.spec.ts:92:1 Allocate previously-managed person
Raw output
[default] › workforce-allocations-to-delius/allocate-new-person.spec.ts:92:1 › Allocate previously-managed person
Test timeout of 540000ms exceeded.
Pending operations:
- locator.check at steps/workforce/allocations.ts:29:10
Error: locator.check: Page closed
=========================== logs ===========================
waiting for locator('tr').filter({ hasText: 'Coco Pint' }).getByRole('radio')
============================================================
at ../steps/workforce/allocations.ts:29
27 | .locator('tr', { hasText: `${allocation.staff.firstName} ${allocation.staff.lastName}` })
28 | .getByRole('radio')
> 29 | .check()
| ^
30 | await page.locator('button', { hasText: 'Continue' }).click()
31 |
32 | // Confirm allocation
at allocateCase (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/workforce/allocations.ts:29:10)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/workforce-allocations-to-delius/allocate-new-person.spec.ts:108:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-previously-managed-person-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-previously-managed-person-default/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 540000ms exceeded.
Pending operations:
- locator.check at steps/workforce/allocations.ts:29:10
Error: locator.check: Page closed
=========================== logs ===========================
waiting for locator('tr').filter({ hasText: 'Coco Pint' }).getByRole('radio')
============================================================
at ../steps/workforce/allocations.ts:29
27 | .locator('tr', { hasText: `${allocation.staff.firstName} ${allocation.staff.lastName}` })
28 | .getByRole('radio')
> 29 | .check()
| ^
30 | await page.locator('button', { hasText: 'Continue' }).click()
31 |
32 | // Confirm allocation
at allocateCase (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/workforce/allocations.ts:29:10)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/workforce-allocations-to-delius/allocate-new-person.spec.ts:108:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-previously-managed-person-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-previously-managed-person-default-retry1/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 540000ms exceeded.
Pending operations:
- locator.check at steps/workforce/allocations.ts:29:10
Error: locator.check: Page closed
=========================== logs ===========================
waiting for locator('tr').filter({ hasText: 'Coco Pint' }).getByRole('radio')
============================================================
at ../steps/workforce/allocations.ts:29
27 | .locator('tr', { hasText: `${allocation.staff.firstName} ${allocation.staff.lastName}` })
28 | .getByRole('radio')
> 29 | .check()
| ^
30 | await page.locator('button', { hasText: 'Continue' }).click()
31 |
32 | // Confirm allocation
at allocateCase (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/workforce/allocations.ts:29:10)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/workforce-allocations-to-delius/allocate-new-person.spec.ts:108:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-previously-managed-person-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/workforce-allocations-to-delius-allocate-new-person-Allocate-previously-managed-person-default-retry2/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────