Closed Bug 1878086 Opened 2 years ago Closed 2 years ago

Home and newtab phase 2 spoc treatment

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: thecount, Assigned: thecount)

References

Details

(Whiteboard: [hnt])

Attachments

(1 file)

We want to be able to setup certain sponsored content to have a different UI/card treatment in a way we can experiment with it.

Whiteboard: [hnt]
Assignee: nobody → sdowne
Attachment #9377779 - Attachment description: Bug 1878086 - Home and newtab phase 2 spoc treatment → Bug 1878086 - Home and newtab sponsored topsites phase 2 UI updates

To test:

When we run this as a test, we'll pick a few or one sponsor that'll see the new UI, and add these to a variable in Nimbus to experiment. To test this, we don't have access to Nimbus or the exact sponsor we may run the experiment on. So what we're going to do is pick a few sponsors form the current pool of sponsors that are being returned, and refresh content until we see them. We also want to ensure the mechanism that picks these works, so my steps attempt to test this as end to end as we can without setting up an actual experiment.

  1. Set browser.newtabpage.activity-stream.asrouter.devtoolsEnabled to true.
  2. Set browser.newtabpage.activity-stream.discoverystream.ctaButtonSponsors to "hellofresh, mozilla vpn, mozilla foundation", you need to find a list of sponsors that are common, in this moment while writing this, these were the ones that worked for me. It may change, if it does, grab the sponsors you see and add them to the CSV.
  3. Set browser.newtabpage.activity-stream.discoverystream.ctaButtonVariant to "variant-a", then test it against "variant-b"
  4. Open a newtab, and another tab open about:newtab#devtools
  5. From the about:newtab#devtools tab, click "refresh cache" until the spoc you get matches one in your list, and verify how it looks. Make sure when refreshing, you only see the new treatment on the chosen sponsors, and the vanilla treatment for other sponsors.
  6. Ensure you test variant-a and variant-b in step 3.
Pushed by sdowne@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5b0eea55cc13 Home and newtab sponsored topsites phase 2 UI updates r=desktop-theme-reviewers,nbarrett,jules
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: