Sometimes the exemption reason was being overwritten by requests. This caused UI glitch which lead to exemption reason section in cookie landing page to disappear.
Relevant Technical Choices
keep exemption reason as undefined if theres no exemption reason or the exemption reason is None
Testing Instructions
Go to nytimes.com
Open the cookies insight page when the page is loading
Search for the Exemption section
Wait for the load completely
You should now see the section doesnt disappear.
Additional Information:
Screenshot/Screencast
Checklist
[x] I have thoroughly tested this code to the best of my abilities.
[x] I have reviewed the code myself before requesting a review.
[x] This code is covered by unit tests to verify that it works as intended.
[x] The QA of this PR is done by a member of the QA team (to be checked by QA).
Description
Sometimes the exemption reason was being overwritten by requests. This caused UI glitch which lead to exemption reason section in cookie landing page to disappear.
Relevant Technical Choices
None
Testing Instructions
nytimes.com
Additional Information:
Screenshot/Screencast
Checklist
Fixes #682