Document the opt-in browser tests (template #157)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 55/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- docker, github-actions, gitlab, php, playwright
- Ambito
- devops, documentation, testing-qa
Direzione di ricerca
Start with the template's e2e/README.md and e2e/run.sh, then tests/fixtures.ts, to confirm the variable, job names, and env vars. Add the CWA_CI_E2E_ENABLED entry to content/6.deployment/4.variables.md, and cover the GitLab browser tests job, the GitHub browser-tests.yml workflow, and local runs in content/6.deployment/3.ci-cd.md. Done when those pages match the template and cover the fixtures, logIn(page), and GCLOUD_API_ENDPOINT.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Template change in components-web-app 3fd2c01 / 8c36f8c (Unreleased, next release after 2.0.0-alpha.33).
New: opt-in Playwright browser tests that gate deploys (e2e/ in the template; the template's e2e/README.md has the details).
- CI variable:
CWA_CI_E2E_ENABLED("true"turns them on). It goes oncontent/6.deployment/4.variables.md, with the otherCWA_CI_*switches. - CI/CD page (
content/6.deployment/3.ci-cd.md):- GitLab's
browser testsjob, which review, staging, canary and production wait for; - GitHub's reusable
browser-tests.yml, called fromci.ymlandproduction.yml; - the report artifacts (14 days).
- GitLab's
- Local use: build the two prod images, then
E2E_PHP_IMAGE=… E2E_APP_IMAGE=… sh e2e/run.sh, withE2E_ARGSto run part of the suite andE2E_KEEP_STACK=trueto keep the stack. - Writing project tests:
- import from
tests/fixtures.ts, which fails a test on a 405, 406 or 415 API write; logIn(page);- one database, tests run one at a time;
- wait for saves to settle before publishing (cwa-nuxt-module#394).
- import from
- New optional php env:
GCLOUD_API_ENDPOINT, a Cloud Storage emulator endpoint used by the tests. Empty uses Google, as on every deploy.
- Lingua principale
- Vue
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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
-
Document opening the add page data form with defaults (?parentPage, ?parentPageData, ?template)Apertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
components-web-app/docs#230 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
components-web-app/docs#228 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
components-web-app/docs#227 ·
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 55/100
components-web-app/docs#233 ·
-
documentation
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
components-web-app/docs#231 ·
Tutte le issue di components-web-app/docs
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Netcracker/qubership-test-pipelines#307 ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement priority normal
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
nextcloud/context_agent#270 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ci complexity: trivial impact: low
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
ueberdosis/tiptap#8521 ·
I maintainer di solito rispondono entro 1 giorno
-
internal os specific
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
frostney/GocciaScript#1688 ·
I maintainer di solito rispondono entro 1 giorno
-
benchmark: `make setup` fails because audit-exporter builds with Go 1.25.0 while go.mod requires 1.26.0Forse già presa @xsvm l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
volcano-sh/volcano#6097 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno