Test: Add e2e tests for admin dashboard functionality
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- playwright, supabase, typescript
調査の方向性
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 の本文から書いたものです。
説明
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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Your-Voldemort/StudentStack のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Your-Voldemort/StudentStack#42 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Your-Voldemort/StudentStack#41 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Your-Voldemort/StudentStack#40 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
Your-Voldemort/StudentStack#38 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Your-Voldemort/StudentStack#37 ·
メンテナーはふだん 1 日以内に返信
Your-Voldemort/StudentStack の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
profullstack/ugig.net#601 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
github/codeql-action#4202 ·
メンテナーはふだん 1 日以内に返信
-
agents: formatReport/reportOrigin only importable through an entry that loads every runtime (~1.5 s)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:runtime bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信