Skip to content
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

Update ATI Optimo contentId logic after Ares change #9717

Merged
merged 8 commits into from
Dec 3, 2021

Conversation

rebeccamcginn
Copy link
Contributor

@rebeccamcginn rebeccamcginn commented Dec 2, 2021

Resolves #9607

Overall change:
This PR removes the logic used to construct the contentId for Optimo articles, as Ares now provide the value for us.

Code changes:

  • Updated Optimo getContentId function to use the contentId provided by Ares
  • Updated/added contentId to test data

  • I have assigned myself to this PR and the corresponding issues
  • I have added the cross-team label to this PR if it requires visibility across World Service teams
  • I have assigned this PR to the Simorgh project
  • (BBC contributors only) This PR follows the repository use guidelines

Testing:

  • Automated (jest and/or cypress) tests added (for new features) or updated (for existing features)
  • If necessary, I have run the local E2E non-smoke tests relevant to my changes (CYPRESS_APP_ENV=local CYPRESS_SMOKE=false yarn test:e2e:interactive)
  • This PR requires manual testing

@rebeccamcginn rebeccamcginn self-assigned this Dec 2, 2021
src/app/lib/analyticsUtils/article/index.js Outdated Show resolved Hide resolved
Co-authored-by: Ryan McCombe <ryanmccombe@gmail.com>
@rebeccamcginn rebeccamcginn merged commit 9776ad5 into latest Dec 3, 2021
@rebeccamcginn rebeccamcginn deleted the optimo-contentId branch December 3, 2021 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants