I need to automate the following scenario:
Login with my mobile app.
Add the patient to my mobile app using add patient functionality.
Now the patient status is pending for that we have a separate web app to approve the patients.
Now I need to approve patient to make it end to end flow.
There might be two solutions:
- First is to read the response of backend API and save the patient id and update the status from db using query.
- second is to open the browser within app login the admin and approve the added patient and then close the browser.
Both not working for me . need help on it.