-
Notifications
You must be signed in to change notification settings - Fork 212
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 VA Notify email in staging and promote to production #92238
Comments
Hopefully department-of-veterans-affairs/vets-website#32262 will be merged soon, which will open up Appoint in Staging |
When going through the appoint experience there were some validation errors in the PDF generation step. Those have been discussed with @cosu419 and will require additional backend work. |
@opticbob can you share more about what the additional backend work needed is? It sounds like we might need another ticket. |
@oddball-lindsay Yep! The country picker for the forms library gives us 3 character country codes but our form only supports two so that was failing validations and the claimant zip code suffix validation was missing a detail that was causing it to behave inconsistently from other suffix validations. You can find all the details here: #94683. |
I'm moving this to Blocked status until #94683 is done and merged. |
#94683 Has been merged so hopefully it'll be deployed by Monday morning and this ticket will be able to proceed. |
#94683 is done and merged, but there may be some new things that were uncovered and need to be handled to unblock this ticket, since Colin and Josh saw some validation errors. Will check with @opticbob tomorrow when he's back, but likely this will be addressed in the draft PR department-of-veterans-affairs/vets-api#18877 |
@oddball-lindsay That's correct. department-of-veterans-affairs/vets-api#18877 should unblock this. |
The ticket that was blocking this merged today: department-of-veterans-affairs/vets-api#18877. I'll check in the morning if this ticket can proceed. |
There were still some validation errors when I tried this today. I'll speak to @cosu419 about it tomorrow to come up with a plan. |
Currently there are a few difference between the data request body being sent by the frontend and the one the backend is expecting. The frontend currently sends the following data like this:
The backend is expecting it like this:
|
The PR for #95975 merged but testing this didn't work. The request is getting a response of |
The
and the response we're getting back looks like this:
Backend changes that need to be made:
Frontend changes that need to be made:
|
The frontend already has those all those values. Why not just pass them to the api and avoid a lookup? |
Mainly for consistency's sake. We lookup the values in the PDF generation to make sure we aren't filling in stale data for forms that have been filled out over a long period of time. |
Pros of passing the id and type:
Cons
Going with Josh's recommendation, which involves changes to the backend and frontend |
The frontend ticket is done and we're waiting for review on the backend ticket. |
We are still waiting for Platform to review the backend ticket. They explained that their policy has now been clarified to say that a review can be requested 3 business days after a teammates approval. |
Platform has commented on the ticket but has not responded to follow up questions. |
The backend ticket #96351 was approved and merged this morning. I can test it as soon as it is deployed. |
I'm going to put this ticket in review while @oddball-lindsay and CAIA look at it. |
Looking really good! The only tweak to get this to match the intended content from CAIA is to clean up the rep type terminology.
Some tweaks to 1 and 2, but 3 and 4 would really just be removing the "titleizing" ie capitalization. After this is in place, we can test the emails one more time then promote to Production! |
Background
This is a continuation of Implement New API Endpoint to Trigger VA Notify Email on PDF Download Page#91460. The code part of that ticket is complete so we've split the testing into this ticket so it can be completed separately and the original ticket can be closed. We will have to discuss with VA Notify the best way to test this in staging.
Waiting until we can trigger this download through the UI. The download page and the rep selection piece.
Tasks
Acceptance Criteria
The text was updated successfully, but these errors were encountered: