Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#30 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
typescript
領域
frontend, testing

調査の方向性

まず PR #28 と既存の公開画面の smoke test を読み、次に apps/web/tests/test-utils.tsx の renderScreen()、mockOk()、mockPaginated() を確認します。PersonDetail、TagDetail、両方のフィード、Volunteer、Sponsor のカバレッジを追加し、一覧にある Display Rules を検証します。各画面に2つまたは3つの smoke-test アサーションがあり、テストスイートがパスすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
1
フォーク
1
平均マージ
1日 20時間
マージ済み PR(30日)
25

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeForPhilly/codeforphilly-ng のほかの issue

CodeForPhilly/codeforphilly-ng の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。