-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Cypress test to patient file upload #7197
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@nihal467 for the following [ ] Verify the uploaded file can only be modified by the author, district admin, and above users. Do I need to sign to each kind of user and check or is there a different way? cc: @rithviknishad |
way of approach should be like , use two nurse type and one district admin Test - 1 Part-1 : Verify the uploaded file can only be modified by the author, district admin, and above users.
Test - 1 Part-2 : Verify file download is possible for all users.
@AshrafMd-1 Answer to the question : Only check for district admin and nurse userID |
@nihal467 done I understood Also other small doubt what patient should I use Like I created a patient but it was not coming on cypress |
@AshrafMd-1 don't create a new patient, just use a patient in the existing dummy data |
@nihal467 can you check this once cc: @rithviknishad |
@AshrafMd-1 your test is failing |
@AshrafMd-1 is attempting to deploy a commit to the Open Healthcare Network Team on Vercel. A member of the Team first needs to authorize it. |
@nihal467 once this PR gets merged in care related to nurse logins, then I will rerun the tests |
@AshrafMd-1 the test is again failing, the backend is merged |
@nihal467 I am not able to understand the error
But then the screenshots says no patients are found So can you give me some guidance on what to do? |
@AshrafMd-1 check the login id user access, whether it is having the particular facility access |
Also here is the data for nurse 1 is there any wrong? cc: @rithviknishad |
@nihal467 once this PR ohcnetwork/care#2012 is merged i will test it again Also I will create a new PR as there are test commits here |
👋 Hi, @AshrafMd-1, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
Add this PR has many test commits I will close and open a new PR |
Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist