Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

CI does not run the frontend tests

Aperta Adatta ai principianti
#188 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
Ambito
ci-cd, testing

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

Backend first issue good first issue help wanted

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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TheCodeHeist-Coder/Rexial

Tutte le issue di TheCodeHeist-Coder/Rexial

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.