Skip to content
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

(test) O3-4177: Add E2E test for adding abnormal vitals #2132

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

lucyjemutai
Copy link

@lucyjemutai lucyjemutai commented Dec 5, 2024

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

E2E test for invalid vitals

https://openmrs.atlassian.net/browse/O3-4177

Reference

Screenshots

Related Issue

Other

@lucyjemutai
Copy link
Author

hey @kdaud @ODORA0 @jayasanka-sack Please review this. Thanks

@NethmiRodrigo NethmiRodrigo changed the title O3-4177: (test) E2E test for invalid vitals (test) O3-4177: E2E test for invalid vitals Dec 5, 2024
@NethmiRodrigo NethmiRodrigo changed the title (test) O3-4177: E2E test for invalid vitals (test) O3-4177: Add E2E test for adding invalid vitals Dec 5, 2024
Copy link
Member

@kdaud kdaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks good overall. I left a few comments.

e2e/specs/invalid.vitals.spec.ts Outdated Show resolved Hide resolved
await expect(biometricsPage.page.getByText(/record vitals and biometrics/i)).toBeVisible();
});

await test.step('When the user enters abnormal vitals/biometric values', async () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the test for vitals or biometrics?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vitals @kdaud

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we break down each value into sub steps? Generic steps can be confusing since they don't show what information was filled in the form.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review again @jayasanka-sack , Thank you

@lucyjemutai lucyjemutai requested a review from kdaud December 16, 2024 05:21
@jayasanka-sack jayasanka-sack changed the title (test) O3-4177: Add E2E test for adding invalid vitals (test) O3-4177: Add E2E test for adding abnorma vitals Dec 16, 2024
@jayasanka-sack jayasanka-sack changed the title (test) O3-4177: Add E2E test for adding abnorma vitals (test) O3-4177: Add E2E test for adding abnormal vitals Dec 16, 2024
Copy link
Member

@jayasanka-sack jayasanka-sack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e2e/specs/invalid.vitals.spec.ts Outdated Show resolved Hide resolved
e2e/specs/invalid.vitals.spec.ts Outdated Show resolved Hide resolved
e2e/specs/invalid.vitals.spec.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants