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

Browser Tests page: the template's tests no longer use the sample content (components-web-app#177)

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

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
Ambito
documentation

Direzione di ricerca

Aggiorna content/6.deployment/7.browser-tests.md in modo che corrisponda ai test del browser descritti nell’issue. Inizia leggendo la pagina attuale e confrontando le sue affermazioni con le modifiche elencate: rimuovi i test che non vengono più eseguiti, aggiorna i requisiti della sitemap e l’introduzione, e chiarisci cosa coprono i test dei template e le specifiche del progetto. Il lavoro è completato quando la pagina rispecchia accuratamente i test attuali, compreso il fatto che nessuno carica un file.

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

Descrizione

The template's browser tests changed in components-web-app#177 (5db12c9). It's on main and will ship in the next template release.

The tests now assume only what every project has: the admin user and the pages its sitemap lists. They no longer depend on the template's sample content, so a project can copy e2e/ unchanged and the tests pass on its own site.

content/6.deployment/7.browser-tests.md needs updating:

  • What they check:
    • Remove "a redirecting route answers with a 308".
    • Remove "an admin can edit and publish a text component…".
    • Remove "an admin can upload and publish an image…".
    • The cache-hit, loading-bar and OG image tests now use pages from the sitemap. The loading-bar test needs at least two pages there, and the OG image test needs the first sitemap page to have an og:image.
  • Intro: it says a build that breaks "logging in or publishing" never reaches a site. Publishing is no longer covered here; content behaviour is tested in the module and bundle.
  • Writing your own tests: say that the template's tests assume nothing beyond the admin and the sitemap, and that a project's own specs are where its pages and content get tested.
  • Test stack: the storage-prefix check after the run is unchanged, but no template test uploads a file any more.
Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
1h 20m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 components-web-app/docs

Tutte le issue di components-web-app/docs

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.