Skip to content

rts test: Show that a user may like an answer and remove their like - #4219

Open
marksvc wants to merge 2 commits into
task/sec1-3from
task/sec1-4
Open

marksvc wants to merge 2 commits into
task/sec1-3from
task/sec1-4

Conversation

@marksvc

@marksvc marksvc commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Likes are inserted and deleted as whole entities rather than edited, so the
rules that govern them are the create and delete rights of the likes domain,
which no test covered.

I wanted to see a test demonstrating that likes still worked, after seeing how
we were editing the permissions specification around them.


Open in Devin Review


Stack created with GitHub Stacks CLI • Give Feedback 💬


This change is Reviewable

@marksvc
marksvc added this pull request to stack #4226 October 22, 2026 21:54
@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.20%. Comparing base (2b7cc7d) to head (fb61619).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##           task/sec1-3    #4219   +/-   ##
============================================
  Coverage        81.20%   81.20%           
============================================
  Files              670      670           
  Lines            42920    42920           
  Branches          7116     7116           
============================================
  Hits             34853    34853           
- Misses            6902     6919   +17     
+ Partials          1165     1148   -17     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@marksvc
marksvc deployed to screenshot_diff October 22, 2026 22:08 — with GitHub Actions Active
@marksvc marksvc added testing not required ai-review-author-sign-off PR author has looked at AI review of change and determined no findings warrant further changes labels Oct 22, 2026
@marksvc
marksvc marked this pull request as ready for review October 22, 2026 23:09
@marksvc
marksvc deployed to screenshot_diff October 22, 2026 23:13 — with GitHub Actions Active
Likes are inserted and deleted as whole entities rather than edited, so the
rules that govern them are the create and delete rights of the likes domain,
which no test covered.

I wanted to see a test demonstrating that likes still worked, after seeing how
we were editing the permissions specification around them.
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

✅ No screenshot differences — all stories are identical.

View the diff page at: https://pr-4219--sf-screenshot-diffs.netlify.app

@marksvc
marksvc removed this pull request from stack #4226 October 23, 2026 16:11
@marksvc
marksvc added this pull request to stack #4228 October 23, 2026 16:11
@marksvc
marksvc deployed to screenshot_diff October 23, 2026 16:14 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
screenshot_diff — fb61619d Deployed Oct 23, 2026 by marksvc via Compare Screenshots #1178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review-author-sign-off PR author has looked at AI review of change and determined no findings warrant further changes testing not required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant