chore(approvals-ga): remove beta flag for MRF email notifications and approvals #7920
+84
−178
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.
Problem
Need to release mrf email notifications and approvals from beta to General Availability.
Solution
Remove the beta flags for mrf email notifications and approvals.
Note that the
mrfEmailNotification
beta flag has been retained to prevent accidental reuse of prior flags. I.e., we might have another feature that uses the same flag name of mrfEmailNotification which is not known to the developer cause it no longer exist in the records, but exist in User collection.Breaking Changes
Tests
Test set up:
Use for approvals
badge appears beside yes/no fields in drawer.TC1: Regression test - MRF still works
TC2: Regression test - email notif works:
TC3: Approve without email notif. Expect no email sent
TC4: Reject without email notif. Expect no email sent
TC5: Approve and reject with email notification works:
TC6: Multiple approval steps - approve all
TC7: Multiple approval steps - Reject at step 2 (middle step)
TC8: Multiple approval steps - Reject at last step
Edge cases:
TC10: approval field set to optional, respondent did not fill
TC10: approval field deleted, admin did not reassign