Browser Tests page: the template's tests no longer use the sample content (components-web-app#177)
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.
- Remove "a redirecting route answers with a
- 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
- 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 components-web-app/docs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
components-web-app/docs#266 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
components-web-app/docs#265 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
components-web-app/docs#264 ·
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
components-web-app/docs#263 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
components-web-app/docs#262 ·
Tutte le issue di components-web-app/docs
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
radix-ui/primitives#4228 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
SignalK/freeboard-sk#1093 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
[测试] 等待仓库加载后再记录多仓库排序基线Forse già presa @myot233 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno