You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test type: Manual testing on a physical Android device
Preconditions
User is logged in.
The tested product initially displays an outlined heart and like count 0.
Steps to reproduce
Open Home.
Tap the product heart once.
Open Profile → Liked.
Return to Home.
Refresh the Home feed.
Tap the same product heart once to unlike it.
Refresh the Home feed again.
Open Profile → Liked.
Actual result
After the first like:
the heart becomes red;
the count changes from 0 to 1.
In Profile → Liked:
the product appears once;
the heart is red;
the count displays 2.
After returning to Home:
the heart is red;
the count displays 1.
After refreshing Home:
the heart remains red;
the count changes to 2.
After tapping the heart once to unlike:
the heart becomes outlined/white;
the count changes from 2 to 1.
After refreshing Home again:
the heart remains outlined/white;
the count changes to 0.
In Profile → Liked:
the empty state is displayed;
the product is no longer present.
Expected result
After liking a product with an initial count of 0, screen should display a red heart with count 1.
Opening Profile → Liked should display a red heart with count 1.
Refreshing Home should display a red heart with count 1.
After unliking, the heart should become outlined and the count should immediately change to 0.
Home and Profile → Liked should always show consistent data.
Reproducibility
Reproduced on the merged main branch on a Vivo V2027 physical device.
Impact
The like and unlike actions are persisted correctly, but the displayed count is inconsistent and temporarily double-counted across Home and Profile → Liked.
Evidence
video.Like.count.mp4
Related work
Observed after the liked-items implementation from PR #458 was merged.
Environment
main033379cPreconditions
0.Steps to reproduce
Actual result
After the first like:
0to1.In Profile → Liked:
2.After returning to Home:
1.After refreshing Home:
2.After tapping the heart once to unlike:
2to1.After refreshing Home again:
0.In Profile → Liked:
Expected result
0, screen should display a red heart with count1.1.1.0.Reproducibility
Reproduced on the merged
mainbranch on a Vivo V2027 physical device.Impact
The like and unlike actions are persisted correctly, but the displayed count is inconsistent and temporarily double-counted across Home and Profile → Liked.
Evidence
video.Like.count.mp4
Related work
Observed after the liked-items implementation from PR #458 was merged.