docs: run only the touched browser specs locally, in Chromium

Aperta Adatta ai principianti
#1,061 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/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

Direzione di ricerca

Leggi la riga dell’interfaccia «What to run» in CONTRIBUTING.md e i comandi in AGENTS.md. Aggiorna entrambi per indicare di eseguire localmente le specifiche del browser modificate con npx playwright test tests/browser/<spec> --project=chromium e descrivi quando eseguire l’intera suite; lascia invariato il controllo su tre browser di CI. Il lavoro è completato quando entrambi i documenti corrispondono alla proposta nell’issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:tests documentation

A small UI change waits close to an hour for its local check, because the docs point at the full browser run: npm run test:browser runs every spec in Chromium, Firefox and WebKit (#970). CI runs the same suite again after the push.

CONTRIBUTING.md (the "What to run" table, the row for the UI) and AGENTS.md (the commands) say that a change to the UI runs npm run test:browser.

Proposal, docs only:

  • Locally, run the specs the change touches, in Chromium: npx playwright test tests/browser/<spec> --project=chromium.
  • Run the full suite locally only when a change reaches many views (shared styles, the menu, the layout), or when CI fails in one browser.
  • CI stays the full check in all three browsers. Nothing in CI changes.

The rest of #970 (a faster full run, the playground rebuild before each run) stays in #970.

Refs #970

Lingua principale
JavaScript
Stelle
1
Fork
1
Merge medio
3h 57m
PR unite (30g)
453

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 eizedev/pivotkit

Tutte le issue di eizedev/pivotkit

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.