PI-1586 update db tables (#2441) #75
GitHub Actions / End-to-end test results
failed
Oct 24, 2023 in 0s
1 tests run, 0 passed, 0 skipped, 1 failed.
Annotations
Check failure on line 50 in ts
github-actions / End-to-end test results
ts.View Delius case data
view-case-data.spec.ts:8:1 View Delius case data
Raw output
[default] › manage-pom-cases-and-delius/view-case-data.spec.ts:8:1 › View Delius case data ───────
Test timeout of 540000ms exceeded.
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/manage-pom-cases-and-delius-view-case-data-View-Delius-case-data-default/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of null (reading '0')
at ../steps/delius/staff/community-manager.ts:14
12 | await expect(page.locator('#communitySupervisorPanel')).toHaveClass(/in/)
13 | const provider = await page.locator('#SearchForm\\:provider').textContent()
> 14 | const surname = /[^,]+/.exec(await page.locator('#SearchForm\\:communityPractitioner').textContent())[0]
| ^
15 | await page.getByRole('link', { name: /Reference Data/ }).click()
16 | await page.getByRole('link', { name: 'Local Reference Records' }).click()
17 | await selectOption(page, 'select', provider)
at randomiseCommunityManagerName (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/delius/staff/community-manager.ts:14:106)
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/tests/manage-pom-cases-and-delius/view-case-data.spec.ts:13:28
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/manage-pom-cases-and-delius-view-case-data-View-Delius-case-data-default-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: command terminated with non-zero exit code: error executing command [sh -c rake community_api:import], exit code 137
at ../steps/k8s/k8s-utils.ts:50
48 | const status = await new Promise((resolve, reject) => {
49 | exec.exec(namespace, podName, containerName, command, stdout, stderr, null, false, v1Status => {
> 50 | if (v1Status.status === 'Failure') reject(new Error(v1Status.message))
| ^
51 | else resolve(v1Status)
52 | })
53 | })
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/steps/k8s/k8s-utils.ts:50:55
at /_work/hmpps-probation-integration-services/hmpps-probation-integration-services/node_modules/@kubernetes/client-node/dist/exec.js:39:21
at WebSocket.client.onmessage (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/node_modules/@kubernetes/client-node/dist/web-socket-handler.js:142:43)
at callListener (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/node_modules/ws/lib/event-target.js:290:14)
at WebSocket.onMessage (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/node_modules/ws/lib/event-target.js:209:9)
at Receiver.receiverOnMessage (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/node_modules/ws/lib/websocket.js:1184:20)
at Receiver.dataMessage (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/node_modules/ws/lib/receiver.js:526:14)
at Receiver.getData (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/node_modules/ws/lib/receiver.js:459:17)
at Receiver.startLoop (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/node_modules/ws/lib/receiver.js:158:22)
at Receiver._write (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/node_modules/ws/lib/receiver.js:84:10)
at TLSSocket.socketOnData (/_work/hmpps-probation-integration-services/hmpps-probation-integration-services/node_modules/ws/lib/websocket.js:1278:35)
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/manage-pom-cases-and-delius-view-case-data-View-Delius-case-data-default-retry2/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Loading