Skip to content

test: replace remaining filter and footer snapshots - #3506

Merged
setchy merged 1 commit into
mainfrom
test/trim-remaining-snapshots
Oct 25, 2026
Merged

setchy merged 1 commit into
mainfrom
test/trim-remaining-snapshots

Conversation

@setchy

@setchy setchy commented Oct 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace the remaining filter-section snapshots (SubjectType, State, UserType, ReviewRequestType) with assertions for every option, counting duplicate titles.
  • Replace the SearchFilterSuggestions snapshots with assertions for the closed state, base vs detailed qualifier lists, invalid input, and filtered results.
  • Replace the NotificationFooter snapshots with assertions for the actor/profile button, default avatar, security-alert avatar, reason, and Copilot case.

Why

These were the last large filter/footer snapshots. The replacements assert the contracts the tests care about, while visual regression covers pixels and the component tests cover markup details.

Verification

  • pnpm test: 200 files, 1,968 tests passed
  • pnpm exec vp check --no-fmt: 465 files passed

Assert every option in the remaining filter sections, the search suggestions list, and the notification footer actor/reason states instead of capturing markup. Removes the last large filter and footer snapshots.
@setchy
setchy requested a review from afonsojramos as a code owner October 25, 2026 14:10
@github-actions github-actions Bot added the test Enhancements to test coverage or quality label Oct 25, 2026
@setchy
setchy merged commit dd60c9d into main Oct 25, 2026
14 checks passed
@setchy
setchy deleted the test/trim-remaining-snapshots branch October 25, 2026 14:11
@github-actions github-actions Bot added this to the Release 7.11.0 milestone Oct 25, 2026
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in Gitify v8.0.0! 🎉

Downloads for macOS, Windows, and Linux are available on the release page.

Thanks for helping make Gitify better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Enhancements to test coverage or quality

Development

Successfully merging this pull request may close these issues.

1 participant