CI does not run the frontend tests
I maintainer di solito rispondono entro 1 giorno
@nayan45633 ci sta già lavorando.
Dal 24/10/2026.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 76/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, python, typescript
Direzione di ricerca
Inizia da .github/workflows/ci.yml e dal passaggio di test esistente di ws-server; controlla lo script di test del workspace frontend e la relativa configurazione Vitest. Aggiungi il comando di test del frontend accanto al passaggio di test CI esistente, poi verifica che il job lo esegua senza servizi aggiuntivi. L’issue suggerisce inoltre di controllare se apps/genAI/tests/ viene eseguita nel job Python e se pnpm test nella root dovrebbe coprire ogni workspace.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The CI workflow runs the ws-server tests but not the frontend ones:
# .github/workflows/ci.yml
- name: Test ws-server
run: pnpm --filter ws-server run test
# nothing for the frontend
- name: Build all workspaces
apps/frontend has a working vitest suite — 37 tests across 6 files, including JoinQuiz.test.tsx, QuizBuilder.test.tsx, AiQuizGenerator.test.tsx and genaiApi.test.ts. None of them run on a pull request.
Why it matters
This is not hypothetical. A frontend test was broken on main for days: one change added a test asserting localStorage.getItem("username"), another scoped those keys to the session, and the two only collided once both were on the same branch. Every CI check stayed green. It was only found by running the suite by hand.
Tests that do not run are worse than no tests — they rot quietly and give false confidence.
What a fix looks like
The frontend tests run in jsdom and mock the API, so they need no database, Redis or services. One step next to the existing one:
- name: Test frontend
run: pnpm --filter frontend run test
While in there, worth checking whether the genAI tests (apps/genAI/tests/) run in the Python job, and whether a root pnpm test ought to run every workspace so that pnpm test locally means the same thing as CI.
Definition of done
- A pull request that breaks a frontend test fails CI
- The step needs no extra services
- Verify by temporarily breaking a test and confirming CI goes red
Good first issue: a few lines of YAML, and it closes the gap that let a broken test sit on main.
- Lingua principale
- TypeScript
- Stelle
- 21
- Fork
- 7
- Merge medio
- 4h 31m
- PR unite (30g)
- 22
Preparare l'ambiente
- Include un Dockerfile o un 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 TheCodeHeist-Coder/Rexial
-
bug good first issue help wanted UI & UX
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
TheCodeHeist-Coder/Rexial#205 ·
I maintainer di solito rispondono entro 1 giorno
-
One PDF upload freezes the whole AI service, including its health checkForse già presa @Anshuu2004 l’ha presa 1 giorno fa. ApertaBackend first issue bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
TheCodeHeist-Coder/Rexial#193 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
The join endpoint returns an error shape the frontend cannot readForse già presa @Anshuu2004 l’ha presa 1 giorno fa. ApertaBackend first issue bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
TheCodeHeist-Coder/Rexial#192 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Registering without a password returns a 500 instead of telling you what is missingForse già presa @Anshuu2004 l’ha presa 1 giorno fa. ApertaBackend first issue bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
TheCodeHeist-Coder/Rexial#191 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue help wanted
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
TheCodeHeist-Coder/Rexial#187 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di TheCodeHeist-Coder/Rexial
Issue simili
-
[good first issue, hacktoberfest] 🏯 Hacktoberfest Task - Add new Japan Fact 898 (good-first-issue)Apertacommunity first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
lingdojo/kana-dojo#33145 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
code-yeongyu/senpi#4278 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Activity | The activity list ignores taskIds and returns the activities of every taskForse già presa @NdekoCode l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ever-co/ever-gauzy#11469 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
griffinwork40/agent-afk#4408 ·
I maintainer di solito rispondono entro 1 giorno