PRMP-1249 | risk | development | false | true | true #1921
full-deploy-to-sandbox.yml
on: workflow_dispatch
Build UI version for E2E Tests
/
install-cypress-build
1m 0s
View input params
2s
Run Lambda Unit Tests
/
View input params
3s
Run Lambda Unit Tests
/
Run Python unit tests
1m 2s
Deploy UI
/
react_build_and_deploy_docker_image
6m 59s
Matrix: Run UI Unit Tests / vitest_testing_job
Run Cypress E2E Tests
/
View input params
4s
Run Cypress E2E Tests
/
...
/
View input params
3s
Run Cypress E2E Tests
/
...
/
cypress run chrome
3m 19s
Run Cypress E2E Tests
/
...
/
View input params
3s
Run Cypress E2E Tests
/
...
/
cypress run edge
3m 39s
Deploy all Lambdas
/
View Deploy all input variables
3s
Deploy all Lambdas
/
...
/
Deploy lambda create_document_reference_handler to risk
26s
Deploy all Lambdas
/
...
/
Deploy lambda update_document_reference_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda search_patient_details_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda document_reference_search_handler to risk
31s
Deploy all Lambdas
/
...
/
Deploy lambda delete_document_reference_handler to risk
26s
Deploy all Lambdas
/
...
/
Deploy lambda delete_document_object_handler to risk
33s
Deploy all Lambdas
/
...
/
Deploy lambda document_manifest_job_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda bulk_upload_metadata_handler to risk
32s
Deploy all Lambdas
/
...
/
Deploy lambda bulk_upload_metadata_processor_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda token_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda login_redirect_handler to risk
32s
Deploy all Lambdas
/
...
/
Deploy lambda authoriser_handler to risk
33s
Deploy all Lambdas
/
...
/
Deploy lambda lloyd_george_record_stitch_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda generate_lloyd_george_stitch_handler to risk
31s
Deploy all Lambdas
/
...
/
Deploy lambda logout_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda bulk_upload_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda bulk_upload_report_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda back_channel_logout_handler to risk
31s
Deploy all Lambdas
/
...
/
Deploy lambda send_feedback_handler to risk
26s
Deploy all Lambdas
/
...
/
Deploy lambda nhs_oauth_token_generator_handler to risk
32s
Deploy all Lambdas
/
...
/
Deploy lambda feature_flags_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda virus_scan_result_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda document_status_check_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda update_upload_state_handler to risk
31s
Deploy all Lambdas
/
...
/
Deploy lambda data_collection_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda statistical_report_handler to risk
38s
Deploy all Lambdas
/
...
/
Deploy lambda generate_document_manifest_handler to risk
25s
Deploy all Lambdas
/
...
/
Deploy lambda manage_nrl_pointer_handler to risk
32s
Deploy all Lambdas
/
...
/
Deploy lambda get_fhir_document_reference_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda patch_document_review_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda get_document_review_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda edge_presign_handler to risk
37s
Deploy all Lambdas
/
...
/
Deploy lambda mns_notification_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda get_report_by_ods_handler to risk
25s
Deploy all Lambdas
/
...
/
Deploy lambda access_audit_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda pdf_stitching_handler to risk
32s
Deploy all Lambdas
/
...
/
Deploy lambda bulk_upload_metadata_preprocessor_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda migration_dynamodb_segment_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda post_fhir_document_reference_handler to risk
26s
Deploy all Lambdas
/
...
/
Deploy lambda fhir_document_reference_search_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda im_alerting_handler to risk
5m 0s
Deploy all Lambdas
/
...
/
Deploy lambda toggle_bulk_upload_handler to risk
26s
Deploy all Lambdas
/
...
/
Deploy lambda document_reference_virus_scan_handler to risk
33s
Deploy all Lambdas
/
...
/
Deploy lambda migration_dynamodb_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda transfer_family_kill_switch_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda search_document_review_handler to risk
25s
Deploy all Lambdas
/
...
/
Deploy lambda get_document_reference_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda transfer_key_manager_handler to risk
31s
Deploy all Lambdas
/
...
/
Deploy lambda document_review_processor_handler to risk
32s
Deploy all Lambdas
/
...
/
Deploy lambda review_document_status_check_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda post_document_review_handler to risk
35s
Deploy all Lambdas
/
...
/
Deploy lambda report_orchestration_handler to risk
29s
Deploy all Lambdas
/
...
/
python_deploy_lambda
Deploy all Lambdas
/
...
/
python_deploy_lambda
run_lg_e2etest
/
lg-fhir-e2e-test
1m 47s
run_pdm_e2etest
/
core-fhir-e2e-test
1m 41s
Matrix: run_mns_e2etest / mns-e2e-test
Run Bulk Upload
/
perform-bulk-upload
Annotations
7 errors and 7 warnings
|
Run Lambda Unit Tests / Run Python unit tests
Process completed with exit code 2.
|
|
Run UI Unit Tests / vitest_testing_job (24.x)
Process completed with exit code 2.
|
|
src/pages/homePage/HomePage.test.tsx > HomePage > Navigation > navigates to report download when download report button is clicked:
app/src/pages/homePage/HomePage.test.tsx#L89
TestingLibraryElementError: Found multiple elements by: [data-testid="download-report-btn"]
Here are the matching elements:
Ignored nodes: comments, script, style
<a
class="nhsuk-card__link"
data-testid="download-report-btn"
href="/create-report?reportType=PATIENT"
>
Download a report
</a>
Ignored nodes: comments, script, style
<a
class="nhsuk-card__link"
data-testid="download-report-btn"
href="#"
>
Download a report
</a>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<h1
class="smaller-title"
>
Access and store digital patient documents
</h1>
<h3>
Select an action
</h3>
<div
class="nhsuk-grid-row nhsuk-card-group"
>
<div
class="nhsuk-grid-column-one-half nhsuk-card-group__item"
>
<div
class="nhsuk-card nhsuk-card--clickable"
>
<div
class="nhsuk-card__content nhsuk-card__content--primary home-action-card-content"
>
<h2
class="nhsuk-card__heading nhsuk-heading-m"
>
<a
class="nhsuk-card__link"
data-testid="search-patient-btn"
href="#"
>
Search for a patient
</a>
</h2>
<p
class="nhsuk-card__description"
>
Find a Lloyd George record for a patient using their NHS number.
</p>
svg
</div>
</div>
</div>
<div
class="nhsuk-grid-column-one-half nhsuk-card-group__item"
>
<div
class="nhsuk-card nhsuk-card--clickable"
>
<div
class="nhsuk-card__content nhsuk-card__content--primary"
>
<h2
class="nhsuk-card__heading nhsuk-heading-m"
>
<a
class="nhsuk-card__link"
data-testid="download-report-btn"
href="/create-report?reportType=PATIENT"
>
Download a report
</a>
</h2>
<p
class="nhsuk-card__description"
>
This report shows the list of Lloyd George records stored for your organisation.
</p>
svg
</div>
</div>
</div>
<div
class="nhsuk-grid-column-one-half nhsuk-card-group__item"
>
<div
class="nhsuk-card nhsuk-card--clickable"
>
<div
class="nhsuk-card__content nhsuk-card__content--primary"
>
<h2
class="nhsuk-card__heading nhsuk-heading-m"
>
<a
class="nhsuk-card__link"
data-testid="download-report-btn"
href="#"
>
Download a report
</a>
</h2>
<p
class="nhsuk-card__description"
>
This report shows the list of Lloyd George records stored for your organisation.
</p>
svg
</div>
</div>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getElementError node_modules/@testing-library/dom/dist/query-helpers.js:20:35
❯ getMultipleElementsFoundError node_modules/@testing-library/dom/dist/query-helpers.js:23:10
❯ node_modules/@testing-library/dom/dist/query-helpers.js:55:13
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/pages/homePage/HomePage.test.tsx:89:49
|
|
src/pages/homePage/HomePage.test.tsx > HomePage > Rendering > should render home page with patient search and download report when uploadDocumentIteration3Enabled is false:
app/src/pages/homePage/HomePage.test.tsx#L42
TestingLibraryElementError: Found multiple elements by: [data-testid="download-report-btn"]
Here are the matching elements:
Ignored nodes: comments, script, style
<a
class="nhsuk-card__link"
data-testid="download-report-btn"
href="/create-report?reportType=PATIENT"
>
Download a report
</a>
Ignored nodes: comments, script, style
<a
class="nhsuk-card__link"
data-testid="download-report-btn"
href="#"
>
Download a report
</a>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<h1
class="smaller-title"
>
Access and store digital patient documents
</h1>
<h3>
Select an action
</h3>
<div
class="nhsuk-grid-row nhsuk-card-group"
>
<div
class="nhsuk-grid-column-one-half nhsuk-card-group__item"
>
<div
class="nhsuk-card nhsuk-card--clickable"
>
<div
class="nhsuk-card__content nhsuk-card__content--primary home-action-card-content"
>
<h2
class="nhsuk-card__heading nhsuk-heading-m"
>
<a
class="nhsuk-card__link"
data-testid="search-patient-btn"
href="#"
>
Search for a patient
</a>
</h2>
<p
class="nhsuk-card__description"
>
Find a Lloyd George record for a patient using their NHS number.
</p>
svg
</div>
</div>
</div>
<div
class="nhsuk-grid-column-one-half nhsuk-card-group__item"
>
<div
class="nhsuk-card nhsuk-card--clickable"
>
<div
class="nhsuk-card__content nhsuk-card__content--primary"
>
<h2
class="nhsuk-card__heading nhsuk-heading-m"
>
<a
class="nhsuk-card__link"
data-testid="download-report-btn"
href="/create-report?reportType=PATIENT"
>
Download a report
</a>
</h2>
<p
class="nhsuk-card__description"
>
This report shows the list of Lloyd George records stored for your organisation.
</p>
svg
</div>
</div>
</div>
<div
class="nhsuk-grid-column-one-half nhsuk-card-group__item"
>
<div
class="nhsuk-card nhsuk-card--clickable"
>
<div
class="nhsuk-card__content nhsuk-card__content--primary"
>
<h2
class="nhsuk-card__heading nhsuk-heading-m"
>
<a
class="nhsuk-card__link"
data-testid="download-report-btn"
href="#"
>
Download a report
</a>
</h2>
<p
class="nhsuk-card__description"
>
This report shows the list of Lloyd George records stored for your organisation.
</p>
svg
</div>
</div>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getElementError node_modules/@testing-library/dom/dist/query-helpers.js:20:35
❯ getMultipleElementsFoundError node_modules/@testing-library/dom/dist/query-helpers.js:23:10
❯ node_modules/@testing-library/dom/dist/query-helpers.js:55:13
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/pages/homePage/HomePage.test.tsx:42:49
|
|
src/pages/adminPage/AdminPage.test.tsx > AdminPage > Rendering > renders the Download a report card with correct href:
app/src/pages/adminPage/AdminPage.test.tsx#L58
Error: expect(element).toHaveAttribute("href", "/create-report?reportType=0") // element.getAttribute("href") === "/create-report?reportType=0"
Expected the element to have attribute:
href="/create-report?reportType=0"
Received:
href="/create-report?reportType=PATIENT"
❯ src/pages/adminPage/AdminPage.test.tsx:58:32
|
|
Run Cypress E2E Tests / cypress_test_chrome / cypress run chrome
Cypress tests: 6 failed
|
|
Run Cypress E2E Tests / cypress_test_edge / cypress run edge
Cypress tests: 6 failed
|
|
Deploy UI / react_build_and_deploy_docker_image
Ignoring property 'registeredBy' in the task definition file. This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, but it is not a valid field when registering a new task definition. This field can be safely removed from your task definition file.
|
|
Deploy UI / react_build_and_deploy_docker_image
Ignoring property 'registeredAt' in the task definition file. This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, but it is not a valid field when registering a new task definition. This field can be safely removed from your task definition file.
|
|
Deploy UI / react_build_and_deploy_docker_image
Ignoring property 'status' in the task definition file. This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, but it is not a valid field when registering a new task definition. This field can be safely removed from your task definition file.
|
|
Deploy UI / react_build_and_deploy_docker_image
Ignoring property 'revision' in the task definition file. This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, but it is not a valid field when registering a new task definition. This field can be safely removed from your task definition file.
|
|
Deploy UI / react_build_and_deploy_docker_image
Ignoring property 'requiresAttributes' in the task definition file. This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, but it is not a valid field when registering a new task definition. This field can be safely removed from your task definition file.
|
|
Deploy UI / react_build_and_deploy_docker_image
Ignoring property 'taskDefinitionArn' in the task definition file. This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, but it is not a valid field when registering a new task definition. This field can be safely removed from your task definition file.
|
|
Deploy UI / react_build_and_deploy_docker_image
Ignoring property 'compatibilities' in the task definition file. This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, but it is not a valid field when registering a new task definition. This field can be safely removed from your task definition file.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
533825906475_dkr_ecr_eu-west-2_amazonaws_com-ndr-risk-app_f92c1a2357b89fc05ee9d534470b127d0157bd50.cyclonedx.json
Expired
|
282 KB |
sha256:b0be6f442d89b9be20a1967c8a0ad881749b6ac19d69a3c4bc6b28f9411ab785
|
|
|
build
Expired
|
865 KB |
sha256:e5383bd3898b01bc0e3e0b5cce5e13edd6aba2394de7282451fc1ea1d628895b
|
|
|
cypress-screenshots-chrome
Expired
|
4.66 MB |
sha256:be0e44e40cf6cca0d619e1bde641eded9bc0da4c78135e9cd8cd72613dc5ec98
|
|
|
cypress-screenshots-edge
Expired
|
4.69 MB |
sha256:edca3348243c82113a7898e953bc5bfcab22389a972f57b95c7c1ef8292cc9f6
|
|