test(viewmedication.test.tsx): complete the update of tests to RTL
test(viewmedication.test.tsx): complete the update of tests to RTL

Finish the update of the tests that were skipped

#55

HospitalRun/hospitalrun-frontend,HospitalRun/hospitalrun-frontend,HospitalRun/hospitalrun-frontend,HospitalRun/hospitalrun-frontend