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-2943: Edit E2E test for the immunization recording workflow #1768
base: main
Are you sure you want to change the base?
Conversation
@kdaud This was passing in local instance,but in github cli, the test is failing |
@Vijaykv5 did you take a look at the logs? |
Here's the playwright report: Looks like the test is failing because there are no immunizations to edit. Maybe you need to combine the two specs. |
but @denniskigen we are separating each functions right? |
I defer to @jayasanka-sack for the ideal approach. |
Check line 10. When the edit test runs, it fails because it's using a brand-new patient with no existing data. We could switch to using A good fix would be to create an immunization record at the start of the edit test using the REST API. That should provide the necessary data for the test to work properly. Lemme know if you have any questions! :) |
@jayasanka-sack So do I need to call this API inside commands or I may need to create a separate file for creating immunization record using the REST API? |
@Vijaykv5 Write a command and call it within the edit test. Yes, you may need to create a new file under the commands directory. |
Requirements
Summary
This PR introduces changes that edits E2E test for recording an immunization
Related Issue
O3-2943
Other