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

Fix : Cypress Case Of Patient Creation #11309

Open
Rustix69 opened this issue Mar 15, 2025 · 2 comments
Open

Fix : Cypress Case Of Patient Creation #11309

Rustix69 opened this issue Mar 15, 2025 · 2 comments
Labels
needs-triage question Further information is requested

Comments

@Rustix69
Copy link
Contributor

Describe the bug
The patient creation is failing randomly. Lets Fix it

To Reproduce
Steps to reproduce the behavior:

Create a PR it will fail this case .

Expected behavior
It should pass the case as I had not done anything wrong with the file

Screenshots

Image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.


🚨 DO NOT EDIT BELOW THIS LINE 🚨

Instructions for Requesting Assignment:

To request assignment, please clearly outline your solution and timeline by commenting on the issue using the format below:

Describe your solution clearly:
Provide a detailed explanation of your proposed solution, including your approach, key implementation steps, and relevant examples or references. Mention any dependencies, assumptions, or risks you foresee that might affect your timeline or implementation.

Expected Timeline:

  • End date: [Expected submission date of a completed Pull Request]

Additional Context:
Include any other relevant context, links, screenshots, or resources that support your proposed solution.

🚨 Your assignment may be unassigned if there is no activity or progress within the stated timeline unless communicated clearly and agreed upon.

@mnshrm
Copy link
Contributor

mnshrm commented Mar 15, 2025

I am also facing similar failures with my PR as well, I think this issue should be prioritized

@siva222003
Copy link
Contributor

siva222003 commented Mar 15, 2025

Hey @Rustix69,

This issue is happening because, in the last test of PatientCreation, a new encounter is being created for a patient and verified. However, someone created a new encounter for the same patient and left it as active.

As a result, the test couldn’t find a success toast for creating an encounter since the API is throwing an error for exceeding the limit of active encounters for that patient.

I marked the encounter as completed, and it’s working fine locally now. Let’s try re-running the checks for your PR.

By the way, it passed for the PR I raised after that.

@github-actions github-actions bot added needs-triage question Further information is requested labels Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants