Remove Rogue done #838
22 tests run, 14 passed, 2 skipped, 6 failed.
Annotations
Check failure on line 38 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
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/approved-premises-and-delius/submit-application.spec.ts:38:25
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: 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/approved-premises-and-delius/submit-application.spec.ts:38:25
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: 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/approved-premises-and-delius/submit-application.spec.ts:38:25
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 34 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 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 180000ms exceeded.
Pending operations:
- page.selectOption at steps/delius/utils/inputs.ts:29:16
Error: page.selectOption: Target closed
=========================== logs ===========================
waiting for locator('#sub-type')
locator resolved to <select id="sub-type" name="subType" class="govuk-select">…</select>
selecting specified option(s)
did not find some options - waiting...
============================================================
at ../steps/delius/utils/inputs.ts:29
27 | option = await getRandomOption(page, selector, 2, filter)
28 | }
> 29 | await page.selectOption(selector, { label: option })
| ^
30 | return option
31 | }
32 |
at selectOption (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/utils/inputs.ts:29:16)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/prison-case-notes-to-probation/case-notes.spec.ts:34:11
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(received).toHaveURL(expected)
Expected pattern: /\/referrals\/.*\/form/
Received string: "https://hmpps-interventions-ui-dev.apps.live-1.cloud-platform.service.justice.gov.uk/referrals/c4bfb878-d7f5-46a9-9c97-c8a53cf6e433/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/c4bfb878-d7f5-46a9-9c97-c8a53cf6e433/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/c4bfb878-d7f5-46a9-9c97-c8a53cf6e433/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/c4bfb878-d7f5-46a9-9c97-c8a53cf6e433/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/c4bfb878-d7f5-46a9-9c97-c8a53cf6e433/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/c4bfb878-d7f5-46a9-9c97-c8a53cf6e433/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/c4bfb878-d7f5-46a9-9c97-c8a53cf6e433/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/c4bfb878-d7f5-46a9-9c97-c8a53cf6e433/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/c4bfb878-d7f5-46a9-9c97-c8a53cf6e433/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/fa5b44b2-ee0f-41b5-b201-d72d3c1bfb04/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/fa5b44b2-ee0f-41b5-b201-d72d3c1bfb04/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/fa5b44b2-ee0f-41b5-b201-d72d3c1bfb04/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/fa5b44b2-ee0f-41b5-b201-d72d3c1bfb04/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/fa5b44b2-ee0f-41b5-b201-d72d3c1bfb04/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/fa5b44b2-ee0f-41b5-b201-d72d3c1bfb04/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/fa5b44b2-ee0f-41b5-b201-d72d3c1bfb04/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/fa5b44b2-ee0f-41b5-b201-d72d3c1bfb04/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/fa5b44b2-ee0f-41b5-b201-d72d3c1bfb04/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/2b4d48d4-88ef-4584-893d-cce69c9b9ebc/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/2b4d48d4-88ef-4584-893d-cce69c9b9ebc/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/2b4d48d4-88ef-4584-893d-cce69c9b9ebc/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/2b4d48d4-88ef-4584-893d-cce69c9b9ebc/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/2b4d48d4-88ef-4584-893d-cce69c9b9ebc/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/2b4d48d4-88ef-4584-893d-cce69c9b9ebc/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/2b4d48d4-88ef-4584-893d-cce69c9b9ebc/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/2b4d48d4-88ef-4584-893d-cce69c9b9ebc/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/2b4d48d4-88ef-4584-893d-cce69c9b9ebc/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/2b4d48d4-88ef-4584-893d-cce69c9b9ebc/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
────────────────────────────────────────────────────────────────────────────────────────────────