From 7c9faeae2bf12fcfd72e3fed38fa5833b2936a52 Mon Sep 17 00:00:00 2001
From: Rio Knightley <128376976+RioKnightleyNHS@users.noreply.github.com>
Date: Thu, 30 Nov 2023 09:25:15 +0000
Subject: [PATCH] PRMDR-528 BSOL Start Content (#172)
Add new start content
---
.../e2e/0-ndr-core-tests/homepage.cy.js | 6 +-
.../components/layout/header/Header.test.tsx | 2 +-
app/src/components/layout/header/Header.tsx | 2 +-
app/src/pages/homePage/HomePage.test.tsx | 52 +++++++++++-------
app/src/pages/homePage/HomePage.tsx | 55 ++++++++++---------
5 files changed, 66 insertions(+), 51 deletions(-)
diff --git a/app/cypress/e2e/0-ndr-core-tests/homepage.cy.js b/app/cypress/e2e/0-ndr-core-tests/homepage.cy.js
index 129c85c11..e9509a45d 100644
--- a/app/cypress/e2e/0-ndr-core-tests/homepage.cy.js
+++ b/app/cypress/e2e/0-ndr-core-tests/homepage.cy.js
@@ -16,7 +16,7 @@ describe('home page', () => {
cy.get('.nhsuk-header__transactional-service-name').children().should('have.length', 1);
cy.get('.nhsuk-header__transactional-service-name--link').should(
'have.text',
- 'Inactive Patient Record Administration',
+ 'Access and store digital GP records',
);
cy.get('.nhsuk-header__navigation').should('have.length', 1);
@@ -41,7 +41,7 @@ describe('home page', () => {
cy.get('.nhsuk-header__transactional-service-name').children().should('have.length', 1);
cy.get('.nhsuk-header__transactional-service-name--link').should(
'have.text',
- 'Inactive Patient Record Administration',
+ 'Access and store digital GP records',
);
cy.get('.nhsuk-header__navigation').should('have.length', 0);
@@ -51,7 +51,7 @@ describe('home page', () => {
it('displays correct page title on home page', () => {
cy.get('.app-homepage-content h1').should(
'have.text',
- 'Inactive Patient Record Administration',
+ 'Access and store digital GP records',
);
});
diff --git a/app/src/components/layout/header/Header.test.tsx b/app/src/components/layout/header/Header.test.tsx
index 5f06bb5f3..51ef65301 100644
--- a/app/src/components/layout/header/Header.test.tsx
+++ b/app/src/components/layout/header/Header.test.tsx
@@ -30,7 +30,7 @@ describe('Header', () => {
it('navigates to the home page when header is clicked', async () => {
renderHeaderWithRouter();
- userEvent.click(screen.getByText('Inactive Patient Record Administration'));
+ userEvent.click(screen.getByText('Access and store digital GP records'));
await waitFor(() => {
expect(mockedUseNavigate).toHaveBeenCalledWith(routes.HOME);
diff --git a/app/src/components/layout/header/Header.tsx b/app/src/components/layout/header/Header.tsx
index 384d70e92..4fb56b59b 100644
--- a/app/src/components/layout/header/Header.tsx
+++ b/app/src/components/layout/header/Header.tsx
@@ -16,7 +16,7 @@ const Header = (props: Props) => {
- When a patient is inactive, NHS England via Primary Care Support England are - responsible for administration of their Electronic health record (EHR) and - attachments until they register at their next GP Practice. -
-- General Practice Staff should use this service to upload an inactive patient's - electronic health record and attachments. -
-- PCSE should use this service to search for and download patient records where there - has been an access request for an inactive patient health record. -
-- If there is an issue with the service please contact the{' '} - - NHS National Service Desk - - . -
+This service gives you access to Lloyd George digital health records.
+You can use this service if you are:
+Not every patient will have a digital record available.
You can only use this service if you have a valid NHS smartcard.
+You'll be asked for:
+This section should only be displayed on a test/dev environment and should