Document the opt-in browser tests (template #157)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 55/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- docker, github-actions, gitlab, php, playwright
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Vue
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
components-web-app/docs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
components-web-app/docs#245 ·
-
難易度 2/5 半日 初心者へのやさしさ 68/100
components-web-app/docs#244 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
components-web-app/docs#243 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
components-web-app/docs#241 ·
-
documentation
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
components-web-app/docs#246 ·
components-web-app/docs の issue をすべて見る
似ている issue
-
ci: nothing regenerates the Go contract types, so a hand-edit to types.gen.go passes対応中かも @shaiknoorullah が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
shaiknoorullah/hg-mono#993 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] web.deploymentStrategy and admintools.deploymentStrategy are ignored, and component ServiceAccounts have no namespace対応中かも @wankhede04 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
temporalio/helm-charts#1006 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
opdev/vuln-scan-cert#44 ·
-
agent:needs-review documentation feature good first issue P3 · 低 隐私与合规
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
ASDW51/DanmuFloat#102 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100