Closed Bug 2041544 Opened 5 months ago Closed 5 months ago

[Homepage Sports Widget] - Add mock server integration in debug tool

Categories

(Firefox for Android :: Homepage, task)

All
Android
task

Tracking

()

VERIFIED FIXED
153 Branch
Tracking Status
firefox151 --- fixed
firefox152 --- verified
firefox153 --- verified

People

(Reporter: skhan, Assigned: skhan)

References

Details

(Whiteboard: [fxdroid][group3][world-cup-phase2])

Attachments

(3 external files)

As we're wrapping up the FIFA widget, we needed a simple way to simulate any point in the tournament, any match state, before the tournament starts.

So we built a mock server that serves the exact same API routes as Merino. The core idea is that we have an interactive timeline and as you drag it it simulates the tournament and random scores are assigned to matches. We also added granular controls to test a match going from scheduled, live, to full time.

This is to be added in debug drawer -> Homepage Sports widget for QA or anyone else to test

Assignee: nobody → skhan
Status: NEW → ASSIGNED
Pushed by skhan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5414fbb6baca https://hg.mozilla.org/integration/autoland/rev/9cd3b744d31d Update Homepage Sports Widget tool in debug drawer to work with mock server r=android-reviewers,pollymce
Blocks: 2041811
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: World Cup kicks off 2026-06-11. Beta was cut 2026-05-18 and missed the last sprint of the Homepage Sports Widget feature work. Without uplift, beta-channel users see an incomplete widget for a fixed-date external event — no team-following error states, no group-stage transitions, no tournament-winner outcomes, no per-day schedule.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: - Turn on the sports widget and debug drawer in secret settings
  • Debug Drawer - Hompegae tools -> verify changes using mock server or real server
  • Risk associated with taking this patch: low
  • Explanation of risk level: Self-contained to the Homepage Sports Widget feature; behind the existing rollout. No platform-code changes.
  • String changes made/needed?: Yes
  • Is Android affected?: yes
Flags: qe-verify+
Attachment #9589898 - Attachment description: WIP: Bug 2041544 - Update Homepage Sports Widget tool in debug drawer to work with mock server → Bug 2041544 - Update Homepage Sports Widget tool in debug drawer to work with mock server
Attachment #9589898 - Flags: approval-mozilla-beta+

Verified as fixed on the latest Firefox for Android Nightly 153.0a1 from 5/28, and on beta 152.0b4, using a Samsung Galaxy A56 (Android 16).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Attachment #9591769 - Attachment description: WIP: Bug 2041544 - Update Homepage Sports Widget tool in debug drawer to work with mock server → Bug 2041544 - Update Homepage Sports Widget tool in debug drawer to work with mock server
Attachment #9591769 - Flags: approval-mozilla-release+
QA Whiteboard: [qa-triage-done-c153/b152]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: