diff --git a/pwa/src/components/PatientInfoForm.test.tsx b/pwa/src/components/PatientInfoForm.test.tsx index 387dbc3..9f0f495 100644 --- a/pwa/src/components/PatientInfoForm.test.tsx +++ b/pwa/src/components/PatientInfoForm.test.tsx @@ -98,9 +98,6 @@ test('sets albendazole input', () => { ) const femaleButton = dom.getByTestId('female-button') - const albendazoleYesInput = dom.queryByTestId('albendazole-Yes') - const checkBox = albendazoleYesInput.getElementsByTagName('span')[0] - expect(checkBox).not.toHaveClass('am-radio-checked') fireEvent.click(albendazoleYesInput) expect(checkBox).toHaveClass('am-radio-checked') @@ -126,7 +123,7 @@ test('renders the Patient Info Form fields', () => { 'Height', 'Z-Score', 'Albendazole', - 'Alergies', + 'Allergies', 'Medicines', 'Chief Complaint', 'History', diff --git a/pwa/src/components/PatientInfoForm.tsx b/pwa/src/components/PatientInfoForm.tsx index db74214..96ac78f 100644 --- a/pwa/src/components/PatientInfoForm.tsx +++ b/pwa/src/components/PatientInfoForm.tsx @@ -355,9 +355,9 @@ export default function Form(): ReactElement { ))} - 'Alergies'}> - - + "Allergies"}> + + 'Medicines'}>