PRMP-1249 | risk | development | true | true | true #1925
full-deploy-to-sandbox.yml
on: workflow_dispatch
Build UI version for E2E Tests
/
install-cypress-build
52s
View input params
4s
Run Lambda Unit Tests
/
View input params
3s
Run Lambda Unit Tests
/
Run Python unit tests
59s
Deploy UI
/
react_build_and_deploy_docker_image
5m 54s
Matrix: Run UI Unit Tests / vitest_testing_job
Run Cypress E2E Tests
/
View input params
3s
Run Cypress E2E Tests
/
...
/
View input params
3s
Run Cypress E2E Tests
/
...
/
cypress run chrome
3m 18s
Run Cypress E2E Tests
/
...
/
View input params
4s
Run Cypress E2E Tests
/
...
/
cypress run edge
3m 54s
Deploy all Lambdas
/
View Deploy all input variables
2s
Deploy all Lambdas
/
...
/
Deploy lambda create_document_reference_handler to risk
36s
Deploy all Lambdas
/
...
/
Deploy lambda update_document_reference_handler to risk
32s
Deploy all Lambdas
/
...
/
Deploy lambda search_patient_details_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda document_reference_search_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda delete_document_reference_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda delete_document_object_handler to risk
31s
Deploy all Lambdas
/
...
/
Deploy lambda document_manifest_job_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda bulk_upload_metadata_handler to risk
34s
Deploy all Lambdas
/
...
/
Deploy lambda bulk_upload_metadata_processor_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda token_handler to risk
36s
Deploy all Lambdas
/
...
/
Deploy lambda login_redirect_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda authoriser_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda lloyd_george_record_stitch_handler to risk
31s
Deploy all Lambdas
/
...
/
Deploy lambda generate_lloyd_george_stitch_handler to risk
32s
Deploy all Lambdas
/
...
/
Deploy lambda logout_handler to risk
39s
Deploy all Lambdas
/
...
/
Deploy lambda bulk_upload_handler to risk
37s
Deploy all Lambdas
/
...
/
Deploy lambda bulk_upload_report_handler to risk
31s
Deploy all Lambdas
/
...
/
Deploy lambda back_channel_logout_handler to risk
33s
Deploy all Lambdas
/
...
/
Deploy lambda send_feedback_handler to risk
43s
Deploy all Lambdas
/
...
/
Deploy lambda nhs_oauth_token_generator_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda feature_flags_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda virus_scan_result_handler to risk
41s
Deploy all Lambdas
/
...
/
Deploy lambda document_status_check_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda update_upload_state_handler to risk
32s
Deploy all Lambdas
/
...
/
Deploy lambda data_collection_handler to risk
34s
Deploy all Lambdas
/
...
/
Deploy lambda statistical_report_handler to risk
34s
Deploy all Lambdas
/
...
/
Deploy lambda generate_document_manifest_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda manage_nrl_pointer_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda get_fhir_document_reference_handler to risk
26s
Deploy all Lambdas
/
...
/
Deploy lambda patch_document_review_handler to risk
26s
Deploy all Lambdas
/
...
/
Deploy lambda get_document_review_handler to risk
40s
Deploy all Lambdas
/
...
/
Deploy lambda edge_presign_handler to risk
39s
Deploy all Lambdas
/
...
/
Deploy lambda mns_notification_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda get_report_by_ods_handler to risk
33s
Deploy all Lambdas
/
...
/
Deploy lambda access_audit_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda pdf_stitching_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda bulk_upload_metadata_preprocessor_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda migration_dynamodb_segment_handler to risk
29s
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
31s
Deploy all Lambdas
/
...
/
Deploy lambda im_alerting_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda toggle_bulk_upload_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda document_reference_virus_scan_handler to risk
28s
Deploy all Lambdas
/
...
/
Deploy lambda migration_dynamodb_handler to risk
41s
Deploy all Lambdas
/
...
/
Deploy lambda transfer_family_kill_switch_handler to risk
32s
Deploy all Lambdas
/
...
/
Deploy lambda search_document_review_handler to risk
27s
Deploy all Lambdas
/
...
/
Deploy lambda get_document_reference_handler to risk
36s
Deploy all Lambdas
/
...
/
Deploy lambda transfer_key_manager_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda document_review_processor_handler to risk
29s
Deploy all Lambdas
/
...
/
Deploy lambda review_document_status_check_handler to risk
30s
Deploy all Lambdas
/
...
/
Deploy lambda post_document_review_handler to risk
33s
Deploy all Lambdas
/
...
/
Deploy lambda report_orchestration_handler to risk
30s
Deploy all Lambdas
/
...
/
python_deploy_lambda
Deploy all Lambdas
/
...
/
python_deploy_lambda
run_lg_e2etest
/
lg-fhir-e2e-test
1m 39s
run_pdm_e2etest
/
core-fhir-e2e-test
1m 42s
Matrix: run_mns_e2etest / mns-e2e-test
Run Bulk Upload
/
perform-bulk-upload
7m 41s
Annotations
7 errors
|
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
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
cypress-screenshots-chrome
Expired
|
4.89 MB |
sha256:b7dbaa07d52a365ea595fd1d956670c4a9c4df0003db4bc70f1e99fdcd724ea0
|
|
|
cypress-screenshots-edge
Expired
|
4.69 MB |
sha256:b817308ff1e124f14dd098e5915920b3e0f44ed1c7fb48fdc8fde7e4bc025509
|
|