mirror of
https://github.com/Haiti-Distributed-Healthcare-System/hdhs.git
synced 2026-10-26 17:35:23 +00:00
Merge branch 'dev' into feature/easy_peasy_t55
This commit is contained in:
commit
a671d0ea6f
2 files changed
+4
-7
No files matched your search
@@ -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',
|
||||
|
||||
@@ -355,9 +355,9 @@ export default function Form(): ReactElement {
|
||||
))}
|
||||
</List>
|
||||
|
||||
<List renderHeader={() => 'Alergies'}>
|
||||
<TextareaItem autoHeight id="alergies" />
|
||||
</List>
|
||||
<List renderHeader={() => "Allergies"}>
|
||||
<TextareaItem autoHeight id="allergies" />
|
||||
</List>
|
||||
|
||||
<List renderHeader={() => 'Medicines'}>
|
||||
<TextareaItem autoHeight id="medicines" />
|
||||
|
||||
Reference in new issue
Block a user