simorgh icon indicating copy to clipboard operation
simorgh copied to clipboard

WSTEAM1-725 CPS SPIKE:Live page archive support

Open emilysaffron opened this issue 1 year ago • 0 comments

Resolves JIRA WSTEAM1-725

Overall changes

Routes CPS live pages to be rendered by Simorgh using a query param override i.e the renderer_env.

Code changes

  • creates arabic live page data fixture
  • Seperates logic for LIVE and TOPIC pages inside of constructPageFetchUrl function (previously they were grouped together), and refactors existing logic for when the environment is local.
  • Updates existing test cases.
  • Adds integration tests.
  • Updates existing snapshots.

Testing

  1. Pull down PR
  2. go to http://localhost:7081/arabic/live/67574192?renderer_env=live and see it is this cps live page being rendered by simorgh

Helpful Links

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

Gap analysis between Simorgh and CPS render

Coding Standards

Repository use guidelines

emilysaffron avatar Dec 21 '23 13:12 emilysaffron