added auth server config (#2302) #1723
24 tests run, 17 passed, 2 skipped, 5 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 81 in ts
github-actions / End-to-end test results
ts.Create and search for contacts
search-for-person.spec.ts:31:1 Create and search for contacts
Raw output
[default] › person-search-index-from-delius/search-for-person.spec.ts:31:1 › Create and search for contacts
Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 5
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('tbody > tr')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
at ../steps/delius/utils/refresh.ts:15
13 | await action()
14 | return await expectation()
> 15 | }).toPass(options)
| ^
16 | }
17 |
18 | export const waitForJS = (page: Page, timeout = 0) => {
at doUntil (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/utils/refresh.ts:15:8)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/person-search-index-from-delius/search-for-person.spec.ts:81:11
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/person-search-index-from-delius-search-for-person-Create-and-search-for-contacts-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 5
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('tbody > tr')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
at ../steps/delius/utils/refresh.ts:15
13 | await action()
14 | return await expectation()
> 15 | }).toPass(options)
| ^
16 | }
17 |
18 | export const waitForJS = (page: Page, timeout = 0) => {
at doUntil (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/utils/refresh.ts:15:8)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/person-search-index-from-delius/search-for-person.spec.ts:81:11
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/person-search-index-from-delius-search-for-person-Create-and-search-for-contacts-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 5
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('tbody > tr')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
at ../steps/delius/utils/refresh.ts:15
13 | await action()
14 | return await expectation()
> 15 | }).toPass(options)
| ^
16 | }
17 |
18 | export const waitForJS = (page: Page, timeout = 0) => {
at doUntil (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/utils/refresh.ts:15:8)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/person-search-index-from-delius/search-for-person.spec.ts:81:11
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/person-search-index-from-delius-search-for-person-Create-and-search-for-contacts-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Check failure on line 64 in ts
github-actions / End-to-end test results
ts.Temporary absence test
release-recall-test.spec.ts:54:1 Temporary absence test
Raw output
[default] › prison-custody-status-to-delius/release-recall-test.spec.ts:54:1 › Temporary absence 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:64:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/prison-custody-status-to-delius-release-recall-test-Temporary-absence-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:64:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/prison-custody-status-to-delius-release-recall-test-Temporary-absence-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:64:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/prison-custody-status-to-delius-release-recall-test-Temporary-absence-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/8abc9d2d-f20c-4a25-90a5-ef35ad37d4e0/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/8abc9d2d-f20c-4a25-90a5-ef35ad37d4e0/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/8abc9d2d-f20c-4a25-90a5-ef35ad37d4e0/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/8abc9d2d-f20c-4a25-90a5-ef35ad37d4e0/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/8abc9d2d-f20c-4a25-90a5-ef35ad37d4e0/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/8abc9d2d-f20c-4a25-90a5-ef35ad37d4e0/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/8abc9d2d-f20c-4a25-90a5-ef35ad37d4e0/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/8abc9d2d-f20c-4a25-90a5-ef35ad37d4e0/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/8abc9d2d-f20c-4a25-90a5-ef35ad37d4e0/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/c0ebcabc-1169-4a1b-8502-8f4c1484ac7e/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/c0ebcabc-1169-4a1b-8502-8f4c1484ac7e/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/c0ebcabc-1169-4a1b-8502-8f4c1484ac7e/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/c0ebcabc-1169-4a1b-8502-8f4c1484ac7e/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/c0ebcabc-1169-4a1b-8502-8f4c1484ac7e/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/c0ebcabc-1169-4a1b-8502-8f4c1484ac7e/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/c0ebcabc-1169-4a1b-8502-8f4c1484ac7e/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/c0ebcabc-1169-4a1b-8502-8f4c1484ac7e/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/c0ebcabc-1169-4a1b-8502-8f4c1484ac7e/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/c0ebcabc-1169-4a1b-8502-8f4c1484ac7e/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/80533ad2-21f4-4499-ba8a-25837de58623/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/80533ad2-21f4-4499-ba8a-25837de58623/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/80533ad2-21f4-4499-ba8a-25837de58623/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/80533ad2-21f4-4499-ba8a-25837de58623/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/80533ad2-21f4-4499-ba8a-25837de58623/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/80533ad2-21f4-4499-ba8a-25837de58623/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/80533ad2-21f4-4499-ba8a-25837de58623/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/80533ad2-21f4-4499-ba8a-25837de58623/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/80533ad2-21f4-4499-ba8a-25837de58623/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/80533ad2-21f4-4499-ba8a-25837de58623/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
────────────────────────────────────────────────────────────────────────────────────────────────