simorgh
simorgh copied to clipboard
WSTEAM1-725 CPS SPIKE:Live page archive support
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
andTOPIC
pages inside ofconstructPageFetchUrl
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
- Pull down PR
- 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.