Skip to content

Commit

Permalink
Restore removed cy labels
Browse files Browse the repository at this point in the history
  • Loading branch information
RioKnightleyNHS committed Oct 13, 2023
1 parent 49e3929 commit 3ccb33a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions app/src/components/blocks/lgRecordStage/LgRecordStage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,17 @@ function LgRecordStage({
Go back
</BackLink>
)}
<>
<p style={{ marginBottom: 5, fontWeight: '700' }}>
<div id="patient-info">
<p style={{ marginBottom: 5, fontWeight: '700' }} data-cy="patient-name">
{`${patientDetails?.givenName} ${patientDetails?.familyName}`}
</p>
<p style={{ fontSize: '16px', marginBottom: 5 }}>NHS number: {nhsNumber}</p>
<p style={{ fontSize: '16px' }}>Date of birth: {dob}</p>
</>
<p style={{ fontSize: '16px', marginBottom: 5 }} data-cy="patient-nhs-number">
NHS number: {nhsNumber}
</p>
<p style={{ fontSize: '16px' }} data-cy="patient-dob">
Date of birth: {dob}
</p>
</div>
{!fullScreen ? (
<>
<Card style={{ marginBottom: 0 }}>
Expand Down

0 comments on commit 3ccb33a

Please sign in to comment.