Update one of our complex confirm tests to use full form flow, fix discovered failure to send to additional participants #27277
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Update one of our complex confirm tests to use full form flow, fix discovered failure to send to additional participants
Before
This work was primarily about fixing the test to use the full flow. However I hit 2 bugs in the process. I fixed one in this PR & am investigating if #26987 addresses the other. The one I hit was that when confirming a event registration with additional participants they were not being emailed once I fixed the test. The reason is the code to get the participant was not only fetching the primary and was using the one it loaded last - so it would prefer a non-primary participant which meant the efforts to load the primary failed later. This wasn't an issue before I fixed the test because the participants were being loaded in the wrong order
After
Test still passes because all the participants get the email.... now that part is fixed
Technical Details
Comments