Add frontend tests for core pages
@adityamukesh ci sta già lavorando.
Dal 13/10/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, nextjs
- Ambito
- testing
Direzione di ricerca
Start with one named page under frontend/pages/ and read the existing tests in frontend/__tests__/ to follow the Jest and Testing Library style. Mock API calls as in the existing tests, then cover player-visible behavior for that page; verify tests fail when the behavior breaks. Run cd frontend && npm test && npm run lint.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The backend has 94 test files, the frontend has 16. Most pages under frontend/pages/ have no tests, including the ones players use most.
Good places to start
frontend/pages/problems/[slug].js: practice problem view, run and submit states, error display.frontend/pages/leaderboard.js: sorting, empty state, pagination.frontend/pages/login.jsandregister.js: validation messages and error handling.frontend/pages/practice.js: problem list filtering by difficulty and tag.
Follow the style in frontend/__tests__/ (Jest plus Testing Library, API calls mocked).
Definition of done
- Tests cover behavior a player would notice, not implementation details.
- Each new test fails if you break the thing it covers (mention how you checked in the pull request).
cd frontend && npm test && npm run lintpasses.
One page per pull request is ideal.
- Lingua principale
- JavaScript
- Stelle
- 0
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 sennaicodes/codearena
-
Add issue and pull request templatesForse di nuovo libera @franciscorodr26 l’ha presa 17 giorni fa e non c’è nessuna pull request aperta. Apertadocumentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
sennaicodes/codearena#13 · 1 commento ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
sennaicodes/codearena#34 ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
sennaicodes/codearena#33 ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
sennaicodes/codearena#32 ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
sennaicodes/codearena#31 ·
Tutte le issue di sennaicodes/codearena
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
open-webui/open-webui#33196 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
area: apple-music area: build-release bug effort: small priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ChristianTabor/Argon#32 ·
I maintainer di solito rispondono entro 1 giorno
-
0️⃣ phase/new
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug
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 68/100