-
Notifications
You must be signed in to change notification settings - Fork 437
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
Cypress Tests: Added test for updating an existing patient. #5602
Cypress Tests: Added test for updating an existing patient. #5602
Conversation
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
f840e19
to
5b6e57e
Compare
|
Sure. I'll implement these changes. |
Hi, @nihal467. I'm having trouble finding the insurance details of a patient in the dashboard. Can you please guide me on where I can locate this information? I need to ensure that the patient's details have been successfully updated. |
@SahilSingh177 Currently, the insurance details are not shown in dashboard, so just add detail of the insurance . no need to verify it |
5b6e57e
to
5185642
Compare
cy.get("[data-testid=name] input").clear().type("Test E2E User Edited"); | ||
cy.get("#emergency_phone_number-div button") | ||
.filter(":nth-child(2)") | ||
.click(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calling this to clear the emergency phone number.
@nihal467, I have updated the PR with the requested changes. Please review them once and let me know if any further changes are required. |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
5185642
to
413d81a
Compare
@SahilSingh177 is attempting to deploy a commit to the Coronasafe Team on Vercel. A member of the Team first needs to authorize it. |
abae93a
to
cc9c3e2
Compare
cacbfa1
to
e2e4292
Compare
5bf50c9
to
a4905c7
Compare
@nihal467, all the tests are passing now, kindly review them once. |
@SahilSingh177 #5579 The phone number fields will be changed once the PR is merged. After the merge, I will review your PR again and proceed with merging it on or before tomorrow EOD. |
a4905c7
to
a0fc106
Compare
@SahilSingh177 the new field is merged, can you update the test since its failing |
Sure. I'll update the tests |
Added test that validates whether the patient has been successfully updated by changing/adding details, and then updating their profile. This is followed by checking the dashboard to confirm if the patient has been updated successfully. Fixes ohcnetwork#4234
66cf33f
to
ba902ce
Compare
@nihal467, I have fixed the test and it's passing |
@SahilSingh177 we will look into it, your PR looks good to me |
WHAT
Added test that validates whether the patient has been successfully updated by changing/adding the following details:
This is followed by checking the dashboard to confirm if the patient has been updated successfully.
Proposed Changes
data-testid="patient-details"
to identify patient's address and medical details.@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist