Test: Add e2e tests for admin dashboard functionality
I maintainer di solito rispondono entro 1 giorno
Una pull request collegata è già stata integrata.
- #65 di @rootsiemen — integrata
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- playwright, supabase, typescript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
});
});
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 6
- Merge medio
- 11h 16m
- PR unite (30g)
- 16
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Your-Voldemort/StudentStack
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Your-Voldemort/StudentStack#42 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Your-Voldemort/StudentStack#41 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Your-Voldemort/StudentStack#40 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
Your-Voldemort/StudentStack#38 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Your-Voldemort/StudentStack#37 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Your-Voldemort/StudentStack
Issue simili
-
bug(sight): the dashboard's text truncations split surrogate pairs and show broken charactersApertacomponent:sight
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
agentic-os-org/ANOLISA#6738 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug Durable Agents Observability (AI Telemetry) status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
mastra-ai/mastra#26470 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
paperclipai/paperclip#15630 ·
I maintainer di solito rispondono entro 1 giorno
-
[good first issue, hacktoberfest] ⛩️ Add new Theme: Sakura Latte (good-first-issue)Forse già presa @PGrayCS l’ha presa oggi. Apertacommunity first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
lingdojo/kana-dojo#31937 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
feature/cohorts feature/feature-flags team/feature-flags
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno