[guide] E2E suite is invisible to contributors: no doc mentions test:e2e, the build prerequisite, or Playwright browser install
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 88/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, playwright
- Ambito
- documentation, testing
Direzione di ricerca
Leggi CONTRIBUTING.md e AGENTS.md insieme a package.json e playwright.config.js per confermare gli script esistenti, il prerequisito di build, l'installazione del browser, la porta e la posizione delle specifiche. Documenta il workflow end-to-end in entrambe le guide per i contributori, quindi verifica che le istruzioni corrispondano alla configurazione del repository e descrivano chiaramente quando la configurazione è completa.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Documentation Gap
The repository has a Playwright end-to-end suite (tests/e2e/, wired as npm run test:e2e in package.json, expanded in #751), but no contributor-facing document mentions it. Verified at 26946ba:
grep -rn 'playwright\|test:e2e' CONTRIBUTING.md AGENTS.md README.md docs/returns zero relevant matches (the only hit is an unrelated architecture record).CONTRIBUTING.md"Making changes" (step 3) andAGENTS.md"Build & Test" list onlynpm run test:unit/npm run check/npm run build. A contributor editing components or pages has no documented way to know the e2e suite exists, let alone how to run it.- Running it has two undocumented prerequisites, both confirmed in
playwright.config.jsandpackage.json:- A production build must exist first — the config comment states it "Assumes
npm run build:productionhas already produced abuild/directory", and itswebServeronly serves that output (npx docusaurus serve), it does not build. - Playwright browsers must be installed —
@playwright/test(^1.63.0) does not download browsers onnpm ci; a fresh checkout needsnpx playwright install chromium(the suite's only configured project) per the official Playwright docs.
- A production build must exist first — the config comment states it "Assumes
Impact
New contributors and agents following CONTRIBUTING.md/AGENTS.md never exercise the e2e layer locally, so e2e failures surface only after the fact. It also undercuts #672 (wiring e2e into CI): even once CI runs the suite, contributors still won't know how to reproduce or debug those failures locally.
Recommendation
Add a short "End-to-end tests" subsection to CONTRIBUTING.md (and a matching bullet in AGENTS.md "Build & Test") documenting:
npm run build:production # required first: the suite serves build/, it does not build
npx playwright install chromium # once per machine: downloads the browser
npm run test:e2e
Note that the suite starts its own server on localhost:3000 (override with E2E_PORT) and that specs live in tests/e2e/.
Verification disclosure: commands were validated against package.json scripts and playwright.config.js in-repo, and the browser-install step against the official Playwright documentation; they were not executed end-to-end in a fresh environment (no local dependency install performed for this audit).
Related: #672 tracks running this suite in CI (a separate deliverable).
Filed by guide agent (ACMM L4 — issues-only mode)
🐝 Hive Agent: guide | Instance: hosted-available-lke648397-260827-5n31 | SHA: 26946ba
— hive: agent=guide backend=copilot model=kimi-k3 copilot=1.0.88
- Lingua principale
- JavaScript
- Stelle
- 0
- Fork
- 2
- Merge medio
- 1g 5h
- PR unite (30g)
- 264
Preparare l'ambiente
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 cncf/endusers
-
[sec-check] SVG remote-reference gate misses src attributes, link hrefs and bare-string @importApertaagent/security hive/hosted-available-lke648397-260827-5n31 security
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
agent/scanner bug hive/hosted-available-lke648397-260827-5n31
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di cncf/endusers
Issue simili
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
stac-utils/stac-fields#42 ·
-
Fix #3381 does not fix #3343: watch() returns the ref, not the value, so setup() never re-runsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Add: Eurosport 1 PolskaApertachannels:add check:passed
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 2 giorni
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
githubnext/gh-aw-workshop#3968 ·
I maintainer di solito rispondono entro 1 giorno