Closed Bug 2042865 Opened 3 months ago Closed 2 months ago

Add test coverage for history grid thumbnails

Categories

(Core :: Machine Learning: Frontend, task)

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox152 --- fixed
firefox153 --- fixed

People

(Reporter: jlevinsohn, Assigned: omarg)

References

(Blocks 1 open bug)

Details

(Whiteboard: [aife])

Attachments

(2 files)

Add automated test coverage for history grid thumbnails.

  • Add tests covering core history grid thumbnail behavior
  • Test coverage includes:
    • thumbnail rendering
    • fallback behavior
    • grid/list behavior where applicable
    • loading/error states where applicable
  • Tests validate expected behavior for common and edge-case scenarios
  • Existing history grid functionality continues to pass

Notes

  • Exact test coverage approach (unit/integration/browser tests) can be determined during implementation
Assignee: nobody → ogonzalez
Status: NEW → ASSIGNED
Blocks: 2040712
Pushed by rperta@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3412b182fbbd https://hg.mozilla.org/integration/autoland/rev/0aab778d1b5d Revert "Bug 2042865, Bug 2038073, Bug 2038069, Bug 2038071 - add test coverage for history thumbnail grid r=echa" for causing bc failures at browser_aichat_message.js

Backed out for causing multiple failures(4 logs attached)
Backout link
Push with failures
Failure log(s)
2Failure log(s)
3Failure log(s)
4Failure log(s)

Flags: needinfo?(ogonzalez)

Test failures fixed

Flags: needinfo?(ogonzalez)
Pushed by rperta@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0387be9ec18d https://hg.mozilla.org/integration/autoland/rev/6e9fd652c651 Revert "Bug 2042865, Bug 2038073, Bug 2038069, Bug 2038071 - add test coverage for history thumbnail grid r=echa"for causing bc failures at browser/browser_smartwindow_history_thumbnails.js

Backed out for causing bc failures at browser/browser_smartwindow_history_thumbnails.js
Backout link
Push with failures
Failure log(s)

Flags: needinfo?(ogonzalez)

This test was marked as intermittent here: https://bugzilla.mozilla.org/show_bug.cgi?id=2046533

Which I was already working on in a branch, I guess I will move these test updates to the patch that adds this test instead.

Flags: needinfo?(ogonzalez)

re-landing, try builds no longer showed telemetry test time outs or any failures for browser_smartwindow_history_thumbnails.js

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
Blocks: 2046201
No longer blocks: 2040712
Attachment #9597544 - Flags: approval-mozilla-release?

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: Smart Window improvement
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: - Open Smart Window tab
  • Prompt for a browsing history search like "show sites in browsing history"
  • Should display results in a grid/list view instead of a bullet list
  • Risk associated with taking this patch: medium
  • Explanation of risk level: Enhances response from LLM - should leave unrelated to browsing history lists untouched, should render browsing history lists as new grid/list component
  • String changes made/needed?: n/a
  • Is Android affected?: no
Flags: qe-verify+
QA Whiteboard: [uplift][qa-ver-needed-c154/b153]

This is for automated tests. Removing the qe-verify+ flag.

QA Whiteboard: [uplift][qa-ver-needed-c154/b153] → [qa-triage-done-c153/b152]
Flags: qe-verify+
Blocks: 2048058
Flags: in-testsuite+
Attachment #9597544 - Flags: approval-mozilla-release? → approval-mozilla-release+
Attachment #9597544 - Flags: approval-mozilla-release+ → approval-mozilla-release?
Attachment #9597544 - Flags: approval-mozilla-release? → approval-mozilla-release+
Attachment #9597544 - Flags: approval-mozilla-release+ → approval-mozilla-release?
Attachment #9597544 - Attachment description: Bug 2042865 - add test coverage for history thumbnail grid → Bug 2042865 - add test coverage for history thumbnail grid a=RyanVM

Pushed new revisions to stack after fixing the issues, here's my try build results: https://treeherder.mozilla.org/jobs?repo=try&revision=0e5a6db5944031348b5223b3afedd1aacb82a7e5

Flags: needinfo?(ogonzalez)
Attachment #9597544 - Flags: approval-mozilla-release? → approval-mozilla-release+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: