Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add screen smoke tests for the public-screens detail/feed/static screens

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Quiet
Tech stack
typescript
Domain
frontend, testing

Research direction

Start by reading PR #28 and the existing public-screen smoke tests, then inspect apps/web/tests/test-utils.tsx for renderScreen(), mockOk(), and mockPaginated(). Add coverage for PersonDetail, TagDetail, both feeds, Volunteer, and Sponsor, asserting the listed load-bearing Display Rules; done means each screen has two or three smoke-test assertions and the test suite passes.

Written by the indexing model from the issue text.

Description

Context: PR #28 (feat/public-screens) shipped screen smoke tests for Home, ProjectsIndex, ProjectDetail, HelpWantedIndex — the screens with the most spec-bound Display Rules. The remaining screens were exercised only via the build + browser walkthrough, not unit tests.

Add smoke tests for:

  • PersonDetail — renders fullName + "Member since {month yyyy}" + projects list sorted by maintainer / joinedAt
  • TagDetail — renders the three sections (Projects / Help-wanted / Members), hides Members on event namespace
  • ProjectUpdatesFeed — renders cards reverse-chron, filtered empty state
  • ProjectBuzzFeed — same shape, external-link headlines
  • Volunteer — hero CTA toggles on auth state, live project count uses /api/projects?perPage=1
  • Sponsor — static content + copy-to-clipboard button

Each test: render with renderScreen() from apps/web/tests/test-utils.tsx, mock fetch with mockOk / mockPaginated, assert two or three load-bearing Display Rules from the spec.

Scoped small enough for a single follow-up PR.

Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
1d 20h
Merged PRs (30d)
25

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodeForPhilly/codeforphilly-ng

All issues in CodeForPhilly/codeforphilly-ng

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.