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

WSTEAM1-1050: Open CAF to all services #11805

Merged
merged 19 commits into from
Aug 6, 2024
Merged

WSTEAM1-1050: Open CAF to all services #11805

merged 19 commits into from
Aug 6, 2024

Conversation

shayneahchoon
Copy link
Contributor

@shayneahchoon shayneahchoon commented Jul 29, 2024

Resolves JIRA WSTEAM1-1050

Overall changes

Removes isCaf flag in Simorgh. Following this change all Story, Media Asset and Photo Gallery requests will come through CAF and be rendered through their respective updated page types.

Code changes

  • isCaf flag removed.
  • e2e tests updates.
  • Unit tests updates.
  • Integration tests updates.
  • Fixture data updated inline with the newer CAF responses.

Testing

  1. List the steps used to test this PR.

Helpful Links

Add Links to useful resources related to this PR if applicable.

Coding Standards

Repository use guidelines

@shayneahchoon shayneahchoon marked this pull request as draft July 30, 2024 08:19
@shayneahchoon shayneahchoon marked this pull request as ready for review July 31, 2024 14:36
@shayneahchoon shayneahchoon changed the title WSTEAM1-1050: Update WSTEAM1-1050: Open CAF to all services Aug 1, 2024
Copy link
Contributor

@amoore108 amoore108 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 👍

There are a couple of changes in snapshots relating to SEO. However they appear to be mostly isolated to extremely old TC2 content, so I don't think its a major concern.

The others look minor and more inline with expected differences when rendering the asset through the ArticlePage component instead of its older page component.

I'd advise trying this out on Preview once reviewed, then we can test it on Test and run the E2E's against it. If its all good then it feels safe to go to Live.

Copy link
Contributor

@Isabella-Mitchell Isabella-Mitchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Agree we should think about deploying this gently. On preview and on test.

@amoore108 amoore108 merged commit 4192571 into latest Aug 6, 2024
11 checks passed
@amoore108 amoore108 deleted the WSTEAM1-1050 branch August 6, 2024 10:37
amoore108 added a commit that referenced this pull request Aug 7, 2024
amoore108 added a commit that referenced this pull request Aug 7, 2024
amoore108 added a commit that referenced this pull request Aug 7, 2024
amoore108 added a commit that referenced this pull request Aug 7, 2024
…AF rendering on all services) (#11821)

* Revert "Revert "WSTEAM1-1050: Open CAF to all services (#11805)" (#11820)"

This reverts commit db1e473.

* [DNM] Remove Welsh service transform logic (#11818)

* Remove `table` component E2E checks (#11819)

* Remove `table` component E2E check

* Update testsForAMPOnly.js

* CPS recommendation block CAF styling fix (#11822)
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.

4 participants