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

Test: Add e2e tests for admin dashboard functionality

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
playwright, supabase, typescript
領域
testing, web-dev

調査の方向性

Start with e2e/app.spec.ts and the existing Playwright tests, then review the Supabase Auth flow and how CI runs against the built preview deployment. Establish an admin authentication fixture or setup using the allow-listed email, and add coverage for review actions, resource CRUD and status changes, ingestion review, and navigation. Done means the admin dashboard flows are exercised reliably in CI.

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

説明

good first issue

Description

The e2e test suite (e2e/app.spec.ts) only has basic tests for home page, directory page, and admin login redirect. No tests exist for actual admin dashboard functionality.

Missing Test Coverage

  • Admin login flow
  • Review queue (approve/reject submissions)
  • Resource CRUD (create, edit, delete, status change)
  • Ingestion review page
  • Admin navigation and layout

Good First Issue Because

  • Playwright tests are straightforward to write
  • Good for learning the admin user flows
  • Uses existing test infrastructure
  • High value - admin is a critical path

Files to Modify

  • e2e/app.spec.ts - add new test suites
  • May need test fixtures/setup for admin authentication

Implementation Notes

  • Admin auth uses Supabase Auth with a single allow-listed email (ADMIN_EMAIL)
  • Tests will need a way to authenticate (test user, mock, or seeded credentials)
  • Consider using page.context().addCookies() or programmatic login
  • The CI runs e2e tests against a built preview deployment

Example Test Structure

test.describe('Admin Dashboard', () => {
  test.beforeEach(async ({ page }) => {
    // Login as admin
  });

  test('should show review queue with pending submissions', async ({ page }) => {
    // Navigate to /admin
    // Verify pending submissions visible
  });

  test('should approve a submission', async ({ page }) => {
    // Click approve
    // Verify resource appears in main table
  });
});
主要言語
TypeScript
スター
1
フォーク
6
平均マージ
12時間 16分
マージ済み PR(30日)
14

環境構築

はじめの一歩

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

Your-Voldemort/StudentStack のほかの issue

Your-Voldemort/StudentStack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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