Open Bug 1859550 Opened 1 year ago Updated 10 months ago

The "Not enough reviews" warning is not displayed for products without reviews

Categories

(Firefox :: Shopping, defect)

Desktop
All
defect

Tracking

()

Tracking Status
firefox-esr115 --- disabled
firefox118 --- disabled
firefox119 --- affected
firefox120 --- affected

People

(Reporter: rdoghi, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-shopping])

Attachments

(1 file)

Attached image NotEnoughReviews.png

Found in

  • Nightly 120.0a1 (2023-10-16)

Affected versions

  • Nightly 120.0a1 (2023-10-16)
  • Beta 119.0b8

Affected platforms

  • ALL

Preconditions:
Set the browser.shopping.experience2023.enabled - TRUE
Set the browser.shopping.experience2023.optedIn - 1

Steps to reproduce

  1. Reach https://www.bestbuy.com/site/barbie-includes-digital-copy-4k-ultra-hd-blu-ray-2023/6542794.p?skuId=6542794
  2. Reach https://www.amazon.com/Ray-Ban-Smart-Glasses-Headliner-Caramel-Transparent/dp/B0CGY1BCWQ/ref=sr_1_1_sspa?keywords=bestbuy.com&link_code=qs&qid=1697542659&sourceid=Mozilla-search&sr=8-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&th=1
  3. Reach https://www.walmart.com/ip/Forza-Horizon-5-Standard-Edition-Xbox-Series-X-Xbox-One/1646322233?athcpid=1646322233&athpgid=AthenaItempage&athcgid=null&athznid=PWSMT&athieid=v0&athstid=CS020&athguid=stmEI5zbTjPgrZnAs_3ROcTzswV9AJvWhPmq&athancid=1385868053&athena=true

Expected result

  • The "Not enough Reviews" Warning should be displayed.

Actual result

  • The How reliable are these reviews card is missing from the Shopping sidebar.
    The Not Enough reviews warning is not displayed in the shopping sidebar.

Aditional notes

  • Please note that this issue could be caused by recent modifications to the Fakespot servers.

Regression range
Not Applicable

As noted on slack, I can't reproduce this - I get the expected results, ie:

The Not Enough reviews warning is not displayed in the shopping sidebar.

The API response I'm seeing is:

{
  "product_id": "B0CHMGJ57R",
  "grade": null,
  "adjusted_rating": null,
  "needs_analysis": true,
  "page_not_supported": false,
  "analysis_url": "https://www.fakespot.com/product/christmas-mouse-magnets-decoration-12-pcs-fridge-magnets-refrigerator-car-locker-garage-door-magnetic-sticker-waterproof-christmas-mouse-decors-party-supplies"
}

I expect this was resolved by the server rollout but am not sure.

Hm, actually, I can reproduce with the pages listed here - at least at the moment. The responses I see have not_enough_reviews: true and needs_analysis: false which means we don't enter this block.

... and I guess the patch in https://phabricator.services.mozilla.com/D190366 would fix this, but also, this is fixed on staging which will be rolled out to prod "soon".

I think the issue still persists. The not enough reviews message does not appear as it should in a local instance of Storybook. We could try moving this codeblock above the needs_analysis one that Gijs linked, so that we that we can render the message regardless of what needs_analysis is and as long as not_enough_reviews is true.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: