You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test file src/app/patients/AddPatient.test.tsx is taking 28 seconds to complete. A possible reason is that the fillOutForm tasks that depends in multiple awaits is taking long. The fillOutForm method is used in almost all the test cases making the delay to grow exponentially.
Action requested
Confirm if the fillOutForm is the root case of the test file taking so long or find the real issue.
Refactor the code to execute the test cases in a more optimized way.
Acceptance Criteria
The test file should execute with better timing keeping it under 5 seconds should be ideal.
Additional context
If there is no possible way to improve the execution maybe splitting the test cases in multiple files so they execute in parallel could help.
The text was updated successfully, but these errors were encountered:
Background
The test file
src/app/patients/AddPatient.test.tsx
is taking 28 seconds to complete. A possible reason is that the fillOutForm tasks that depends in multiple awaits is taking long. ThefillOutForm
method is used in almost all the test cases making the delay to grow exponentially.Action requested
Confirm if the fillOutForm is the root case of the test file taking so long or find the real issue.
Refactor the code to execute the test cases in a more optimized way.
Acceptance Criteria
The test file should execute with better timing keeping it under 5 seconds should be ideal.
Additional context
If there is no possible way to improve the execution maybe splitting the test cases in multiple files so they execute in parallel could help.
The text was updated successfully, but these errors were encountered: