Replace collections on europe
front if participating in the Europe beta test
#27635
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the value of this and can you measure success?
Setting up phase 2 of the Europe beta experiment test plan to show the containers on the Europe beta front instead of those on the Europe front for users participating in the test:
If a user requests the
europe
fronteurope
front is returned with the collections swapped out for the ones on the hiddeneurope-beta
fronteurope
collections are returned as usual.If a user requests any other front and is either participating or not participating in the Europe beta test, the collections configured for that front are unchanged.
Table to demonstrate the above logic:
europe
europe
front witheurope-beta
collectionseurope
front witheurope
collectionseurope-beta
uk
uk
front withuk
collectionsuk
front withuk
collectionsTrello ticket link
What does this change?
Adjusts the logic in
renderFrontPressResult
for fetching thefutureFaciaPage
to swap the collections returned in the response if a user is participating in the Europe beta test and they are requesting the Europe front.All other fields remain the same apart from
collections
which returns those on the hiddeneurope-beta
front instead of the usual collections returned from theeurope
front.Screenshots
Checklist
How to test
CODE
environment/europe
page