Repository navigation
docs(id): sync seven stale pages with English and translate debugging - #2601
ardi-zanki wants to merge 1 commit into
Conversation
Rewrites ci/codemagic, core-concepts, and coding-agents against the current English pages, and updates ci, core, desktop, and electron to match their outline and code. Adds the Indonesian debugging page.
Docs previewThe site runs each docs page as code, so a fork's pull request is previewed only after a maintainer reads it. To preview 47c1ec1, comment |
|
No actionable comments were generated in the recent review. Walkthrough
Change: Other Merge Risk:
|
There was a problem hiding this comment.
14 issues found across 8 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="docs/id/core.mdx">
<violation number="1" location="docs/id/core.mdx:205">
P2: This translated link resolves to the Indonesian `/desktop` page, which has no `set-up` anchor, so the permission guidance opens at the wrong location. Link to `/desktop` without the English fragment (or use the translated anchor).</violation>
<violation number="2" location="docs/id/core.mdx:214">
P2: This translated link resolves to the Indonesian `/desktop` page, which has no `the-desktop-fixture` anchor, so it cannot jump to the fixture section. Link to `/desktop` without the English fragment (or use the translated anchor).</violation>
</file>
<file name="docs/id/debugging.mdx">
<violation number="1" location="docs/id/debugging.mdx:9">
P2: Jangan nyatakan jalur trace dan baris sumber sebagai selalu tersedia: `trace: 'off'` menghilangkan halaman, dan hasil tanpa sumber tidak memiliki baris gagal. Nyatakan kedua bidang ini hanya muncul bila masing-masing tersedia.
(Based on your team's feedback about optional trace and source fields.) .</violation>
<violation number="2" location="docs/id/debugging.mdx:139">
P2: `--video` is engine-dependent, but this instruction presents it as if it always records the run. The configuration docs say only targets whose engine can record receive a video; qualify this instruction so users of unsupported engines are not promised an artifact.
(Based on your team's feedback about engine-specific video documentation.) [9d3b994d-8813-4adb-9fe1-ba156d17f802]</violation>
<violation number="3" location="docs/id/debugging.mdx:156">
P2: Kualifikasikan `--video` dengan kemampuan engine dan bedakan rekaman lokal dari URL provider; engine yang tidak mendukung dapat melewati video, sedangkan provider hosted tidak menulis file ke direktori percobaan.
(Based on your team's feedback about engine-specific video recording.) .</violation>
</file>
<file name="docs/id/ci.mdx">
<violation number="1" location="docs/id/ci.mdx:52">
P2: `--video` does not produce an artifact for every engine. Qualify this entry with “if the selected engine supports video recording,” matching the CLI behavior.</violation>
<violation number="2" location="docs/id/ci.mdx:211">
P2: Qualify the riskiest-first claim by limiting it to filters that return relevance scores; exclusion-only filters do not provide that ordering.
(Based on your team's feedback about relevance-based target ordering.) .</violation>
<violation number="3" location="docs/id/ci.mdx:298">
P2: Describe this as rerunning tests that did not pass, not only failed tests; `--last-failed` also selects timed-out, interrupted, and setup-blocked tests.</violation>
<violation number="4" location="docs/id/ci.mdx:299">
P2: This hard-codes the default report path even though the page documents `--output` overrides and shard-specific output. Describe the input as `<output>/report.json`, defaulting to `.e2e/report.json`, so reruns use the configured output directory.</violation>
</file>
<file name="docs/id/coding-agents.mdx">
<violation number="1" location="docs/id/coding-agents.mdx:65">
P2: This table presents video recording as available with every MCP engine, but recording tools are engine-dependent. Qualify the cell so users do not expect a recording on unsupported engines.
(Based on your team's feedback about engine-specific video recording.) .</violation>
<violation number="2" location="docs/id/coding-agents.mdx:130">
P2: This promises that headed mode shows a browser or simulator for every engine. Qualify the instruction by engine support, otherwise users of unsupported engines will expect a UI that cannot appear.
(Based on your team's feedback about engine-specific headed visibility.) .</violation>
</file>
<file name="docs/id/ci/codemagic.mdx">
<violation number="1" location="docs/id/ci/codemagic.mdx:76">
P1: The Codemagic example uses `definitions.steps`, but Codemagic reusable workflow entries belong in a `definitions.scripts` list. Change this block to `scripts:` with `- &install_dependencies`, `- &build_ios_simulator`, and so on; otherwise the copy-pasted YAML may be rejected before CI runs.</violation>
<violation number="2" location="docs/id/ci/codemagic.mdx:238">
P3: Translate this section heading as `Kunci model` to match the established Indonesian documentation terminology; `Key model` is an untranslated and reversed English phrase.</violation>
</file>
<file name="docs/id/desktop.mdx">
<violation number="1" location="docs/id/desktop.mdx:148">
P3: The SwiftUI API is `.accessibilityIdentifier`, not the bare AppKit `accessibilityIdentifier`; preserve the leading dot so readers can identify the correct modifier.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
|
|
||
| # The tests run in the same steps in the check and the release workflows, so | ||
| # a release is only built from a revision that passed exactly these tests. | ||
| steps: |
There was a problem hiding this comment.
P1: The Codemagic example uses definitions.steps, but Codemagic reusable workflow entries belong in a definitions.scripts list. Change this block to scripts: with - &install_dependencies, - &build_ios_simulator, and so on; otherwise the copy-pasted YAML may be rejected before CI runs.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/id/ci/codemagic.mdx, line 76:
<comment>The Codemagic example uses `definitions.steps`, but Codemagic reusable workflow entries belong in a `definitions.scripts` list. Change this block to `scripts:` with `- &install_dependencies`, `- &build_ios_simulator`, and so on; otherwise the copy-pasted YAML may be rejected before CI runs.</comment>
<file context>
@@ -1,121 +1,360 @@
+
+ # The tests run in the same steps in the check and the release workflows, so
+ # a release is only built from a revision that passed exactly these tests.
+ steps:
+ install_dependencies: &install_dependencies
+ name: Install dependencies
</file context>
| `headed: true` ke `launch`. Aplikasi yang tidak membuka jendela di latar | ||
| belakang, seperti aplikasi berbasis dokumen, memerlukan `headed: true` atau | ||
| `desktop({ physicalInput: true })`. | ||
| [Fixture desktop](/desktop#the-desktop-fixture) membahas jendela dan input |
There was a problem hiding this comment.
P2: This translated link resolves to the Indonesian /desktop page, which has no the-desktop-fixture anchor, so it cannot jump to the fixture section. Link to /desktop without the English fragment (or use the translated anchor).
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/id/core.mdx, line 214:
<comment>This translated link resolves to the Indonesian `/desktop` page, which has no `the-desktop-fixture` anchor, so it cannot jump to the fixture section. Link to `/desktop` without the English fragment (or use the translated anchor).</comment>
<file context>
@@ -171,6 +180,40 @@ Simulator iOS dapat menghentikan tautan dengan skema khusus pada prompt
+`headed: true` ke `launch`. Aplikasi yang tidak membuka jendela di latar
+belakang, seperti aplikasi berbasis dokumen, memerlukan `headed: true` atau
+`desktop({ physicalInput: true })`.
+[Fixture desktop](/desktop#the-desktop-fixture) membahas jendela dan input
+keyboard.
+
</file context>
| [Fixture desktop](/desktop#the-desktop-fixture) membahas jendela dan input | |
| [Fixture desktop](/desktop) membahas jendela dan input |
| <Note> | ||
| Engine desktop bersifat [eksperimental](/desktop) dan hanya berjalan di macOS | ||
| 13 atau lebih baru. Program yang memulai skrip Anda memerlukan izin | ||
| Accessibility dan Screen Recording: lihat [Desktop](/desktop#set-up). Core |
There was a problem hiding this comment.
P2: This translated link resolves to the Indonesian /desktop page, which has no set-up anchor, so the permission guidance opens at the wrong location. Link to /desktop without the English fragment (or use the translated anchor).
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/id/core.mdx, line 205:
<comment>This translated link resolves to the Indonesian `/desktop` page, which has no `set-up` anchor, so the permission guidance opens at the wrong location. Link to `/desktop` without the English fragment (or use the translated anchor).</comment>
<file context>
@@ -171,6 +180,40 @@ Simulator iOS dapat menghentikan tautan dengan skema khusus pada prompt
+<Note>
+Engine desktop bersifat [eksperimental](/desktop) dan hanya berjalan di macOS
+13 atau lebih baru. Program yang memulai skrip Anda memerlukan izin
+Accessibility dan Screen Recording: lihat [Desktop](/desktop#set-up). Core
+tidak memerlukan paket `e2e`; hanya pemeriksaan `e2e doctor` di halaman itu
+yang memakainya.
</file context>
| Accessibility dan Screen Recording: lihat [Desktop](/desktop#set-up). Core | |
| Accessibility dan Screen Recording: lihat [Desktop](/desktop). Core |
| ``` | ||
| </CodeGroup> | ||
|
|
||
| Setiap rekaman masuk ke direktori percobaannya, dan ringkasan kegagalan |
There was a problem hiding this comment.
P2: Kualifikasikan --video dengan kemampuan engine dan bedakan rekaman lokal dari URL provider; engine yang tidak mendukung dapat melewati video, sedangkan provider hosted tidak menulis file ke direktori percobaan.
(Based on your team's feedback about engine-specific video recording.) .
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/id/debugging.mdx, line 156:
<comment>Kualifikasikan `--video` dengan kemampuan engine dan bedakan rekaman lokal dari URL provider; engine yang tidak mendukung dapat melewati video, sedangkan provider hosted tidak menulis file ke direktori percobaan.
(Based on your team's feedback about engine-specific video recording.) .</comment>
<file context>
@@ -0,0 +1,261 @@
+```
+</CodeGroup>
+
+Setiap rekaman masuk ke direktori percobaannya, dan ringkasan kegagalan
+mencetak jalurnya. Di CI, atur `video: 'on-first-retry'` di konfigurasi. Tes
+yang lolos pada percobaan pertama tidak merekam apa pun, dan tes flaky
</file context>
| keywords: [trace, failure, report, artifacts] | ||
| --- | ||
|
|
||
| Tes yang gagal mencetak error-nya dan jalur ke halaman trace-nya. Kerjakan |
There was a problem hiding this comment.
P2: Jangan nyatakan jalur trace dan baris sumber sebagai selalu tersedia: trace: 'off' menghilangkan halaman, dan hasil tanpa sumber tidak memiliki baris gagal. Nyatakan kedua bidang ini hanya muncul bila masing-masing tersedia.
(Based on your team's feedback about optional trace and source fields.) .
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/id/debugging.mdx, line 9:
<comment>Jangan nyatakan jalur trace dan baris sumber sebagai selalu tersedia: `trace: 'off'` menghilangkan halaman, dan hasil tanpa sumber tidak memiliki baris gagal. Nyatakan kedua bidang ini hanya muncul bila masing-masing tersedia.
(Based on your team's feedback about optional trace and source fields.) .</comment>
<file context>
@@ -0,0 +1,261 @@
+keywords: [trace, failure, report, artifacts]
+---
+
+Tes yang gagal mencetak error-nya dan jalur ke halaman trace-nya. Kerjakan
+langkah di bawah secara berurutan dan berhenti di langkah yang menjelaskan
+kegagalannya.
</file context>
| Jalankan ulang tes dengan browser yang terlihat. Tambahkan `--video` untuk | ||
| merekam eksekusinya. |
There was a problem hiding this comment.
P2: --video is engine-dependent, but this instruction presents it as if it always records the run. The configuration docs say only targets whose engine can record receive a video; qualify this instruction so users of unsupported engines are not promised an artifact.
(Based on your team's feedback about engine-specific video documentation.) [9d3b994d-8813-4adb-9fe1-ba156d17f802]
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/id/debugging.mdx, line 139:
<comment>`--video` is engine-dependent, but this instruction presents it as if it always records the run. The configuration docs say only targets whose engine can record receive a video; qualify this instruction so users of unsupported engines are not promised an artifact.
(Based on your team's feedback about engine-specific video documentation.) [9d3b994d-8813-4adb-9fe1-ba156d17f802]</comment>
<file context>
@@ -0,0 +1,261 @@
+
+## Tonton langsung
+
+Jalankan ulang tes dengan browser yang terlihat. Tambahkan `--video` untuk
+merekam eksekusinya.
+
</file context>
| Jalankan ulang tes dengan browser yang terlihat. Tambahkan `--video` untuk | |
| merekam eksekusinya. | |
| Jalankan ulang tes dengan browser yang terlihat. Tambahkan `--video` untuk merekam | |
| eksekusinya pada engine yang mendukung perekaman. |
| | `results/` | Halaman trace, screenshot, dan dump layar dari setiap tes. Dengan `--video`, folder ini juga berisi video untuk setiap target yang engine-nya dapat merekam | | ||
| | `report.json` | Laporan JSON lengkap untuk eksekusi | | ||
| | `junit.xml` | JUnit XML (dengan `--reporter list,junit`), termasuk tes yang difilter sebagai dilewati dan kegagalan startup | | ||
| | `results/` | Halaman trace, screenshot, dump layar, dan video (dengan `--video`) | |
There was a problem hiding this comment.
P2: --video does not produce an artifact for every engine. Qualify this entry with “if the selected engine supports video recording,” matching the CLI behavior.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/id/ci.mdx, line 52:
<comment>`--video` does not produce an artifact for every engine. Qualify this entry with “if the selected engine supports video recording,” matching the CLI behavior.</comment>
<file context>
@@ -43,47 +43,45 @@ Untuk menyewa browser atau perangkat dari layanan cloud, lihat
-| `results/` | Halaman trace, screenshot, dan dump layar dari setiap tes. Dengan `--video`, folder ini juga berisi video untuk setiap target yang engine-nya dapat merekam |
+| `report.json` | Laporan JSON lengkap untuk eksekusi |
+| `junit.xml` | JUnit XML (dengan `--reporter list,junit`), termasuk tes yang difilter sebagai dilewati dan kegagalan startup |
+| `results/` | Halaman trace, screenshot, dump layar, dan video (dengan `--video`) |
-Arahkan integrasi laporan tes layanan CI Anda ke `.e2e/junit.xml`.
</file context>
| | `results/` | Halaman trace, screenshot, dump layar, dan video (dengan `--video`) | | |
| | `results/` | Halaman trace, screenshot, dump layar, dan video (dengan `--video`, jika engine target mendukung perekaman) | |
| (dibaca dari `.e2e/report.json`). Anda dapat merangkainya di langkah CI yang | ||
| sama: |
There was a problem hiding this comment.
P2: This hard-codes the default report path even though the page documents --output overrides and shard-specific output. Describe the input as <output>/report.json, defaulting to .e2e/report.json, so reruns use the configured output directory.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/id/ci.mdx, line 299:
<comment>This hard-codes the default report path even though the page documents `--output` overrides and shard-specific output. Describe the input as `<output>/report.json`, defaulting to `.e2e/report.json`, so reruns use the configured output directory.</comment>
<file context>
@@ -265,34 +250,64 @@ jobs:
-berdasarkan `report.json` di direktori output. Jalankan flag ini pada langkah
-yang sama dengan eksekusi pertama:
+`--last-failed` hanya menjalankan ulang tes yang gagal pada eksekusi sebelumnya
+(dibaca dari `.e2e/report.json`). Anda dapat merangkainya di langkah CI yang
+sama:
</file context>
| (dibaca dari `.e2e/report.json`). Anda dapat merangkainya di langkah CI yang | |
| sama: | |
| (dibaca dari `<output>/report.json`; defaultnya `.e2e/report.json`). Anda dapat | |
| merangkainya di langkah CI yang sama: |
| Proyek React Native atau Expo membangun Release di kedua platform, seperti di | ||
| [Job mobile](/ci#mobile-jobs). | ||
|
|
||
| ## Key model |
There was a problem hiding this comment.
P3: Translate this section heading as Kunci model to match the established Indonesian documentation terminology; Key model is an untranslated and reversed English phrase.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/id/ci/codemagic.mdx, line 238:
<comment>Translate this section heading as `Kunci model` to match the established Indonesian documentation terminology; `Key model` is an untranslated and reversed English phrase.</comment>
<file context>
@@ -1,121 +1,360 @@
+Proyek React Native atau Expo membangun Release di kedua platform, seperti di
+[Job mobile](/ci#mobile-jobs).
+
+## Key model
+
+Buat grup variabel `e2e` pada aplikasi Codemagic, tambahkan key model ke
</file context>
| ## Key model | |
| ## Kunci model |
| label dengan placeholder-nya, jadi temukan dengan | ||
| `getByRole('textbox', 'Username')` atau `getByLabel('Username')`; | ||
| `getByPlaceholder` tidak didukung. `getByTestId` menemukan `AXIdentifier` | ||
| milik kontrol (`accessibilityIdentifier` di AppKit dan SwiftUI). Lihat |
There was a problem hiding this comment.
P3: The SwiftUI API is .accessibilityIdentifier, not the bare AppKit accessibilityIdentifier; preserve the leading dot so readers can identify the correct modifier.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At docs/id/desktop.mdx, line 148:
<comment>The SwiftUI API is `.accessibilityIdentifier`, not the bare AppKit `accessibilityIdentifier`; preserve the leading dot so readers can identify the correct modifier.</comment>
<file context>
@@ -132,39 +140,32 @@ test('signs in', async ({ app, screen }) => {
+label dengan placeholder-nya, jadi temukan dengan
+`getByRole('textbox', 'Username')` atau `getByLabel('Username')`;
+`getByPlaceholder` tidak didukung. `getByTestId` menemukan `AXIdentifier`
+milik kontrol (`accessibilityIdentifier` di AppKit dan SwiftUI). Lihat
+[Role dan nama](/reference/desktop#roles-and-names) untuk cara elemen macOS
+dipetakan ke role.
</file context>
| milik kontrol (`accessibilityIdentifier` di AppKit dan SwiftUI). Lihat | |
| milik kontrol (`accessibilityIdentifier` di AppKit dan `.accessibilityIdentifier` di SwiftUI). Lihat |
okwasniewski
left a comment
There was a problem hiding this comment.
Automated review (AI triage pass), not yet read by a maintainer.
Reviewed 47c1ec182. Re-syncs seven Indonesian pages and adds docs/id/debugging.mdx. Six of them now match English. electron still lags in places the PR body says are in line.
Verified
- Checked out on current main
31a814ad9together with #2602. Both merge cleanly. #2602 touches onlydocs/id/reference/*and #2588 onlydocs/id/migrate/*, so no file overlaps with this PR. check-docs-mdx(506 pages),check-docs-anchors(8648 links),check-docs-package-managers,check-docs-examples, andcheck-docs-logospass.check-docs-translationsreports no warning for any of the eight pages.- Each page against English: link targets,
hrefs, MDX tags, inline code and block counts match. The exceptions areelectron(below) and translated prompt strings inci/codemagic. Code blocks match English exactly.debugginghas em dashes only in the example trace output, copied from English. Nav needs no change:docs.jsonalready listsdebugging. - CI:
electron (integration)failedcloses one window past its beforeunload guard, andspec gatefailed as a result. Both are known Electron flakes, and the PR changes only docs. Everything else is green. - cubic's threads: the
definitions.stepsYAML,/desktop#set-up,/desktop#the-desktop-fixture,accessibilityIdentifier, and the video/--last-failed/riskiest-first wording all match English as written. The anchors resolve by position now thatid/desktopmatches the English outline. Reply on these threads and resolve them. Content changes belong in the English page first.
Should fix
docs/id/electron.mdxis still behind English. The PR body says the pages are "back in line", but this page has gaps the outline check can't see:- The "experimental, pin an exact version"
<Warning>is missing. It sits after the intro, around L6-L11. - The
npx e2e init my-app --example with-electronparagraph is missing. - The fuse bullet doesn't list
electron.waitForDownload(). - The
browser.onDialog()link points to/reference/webwhere English uses/reference/web#ondialog. - The Electron 45/22 sentences that #2555 moved to
reference/electronare still on this page. - The "Very long pages" limitation bullet from #2405, which landed after this branch, is missing.
- The "experimental, pin an exact version"
Nits
- docs/id/ci/codemagic.mdx:238 -
## Key model(also L14, L40, L240, andci.mdx:62). The old page andci/bitrise/ci/eas-workflowssayKunci model. "Key model" reads as "main model". docs/id/ci.mdxfrontmatter is missing English'skeywords: [CI, continuous integration, pipeline, sharding]. The gap predates this PR.
What
Brings seven existing Indonesian pages back in line with the current English pages, and adds
docs/id/debugging.mdx.ci/codemagic,core-concepts,coding-agentsci(CI defaults, sharding, merge-reports),core(desktop section, video card),desktop,electron(the missing "Wait and assert" section)debuggingPart of #1890.
Why
pnpm docs:checkwarned on these seven pages: heading levels,<Tab>/<Accordion>order, ids, or code blocks no longer matched English. Until the outline matches, the site gives such a page ids of its own, so links to its anchors and the language switcher miss.debuggingwas the last Features page without an Indonesian version.How it works
ci/codemagic,core-concepts, andcoding-agentswere translated from older English, so they are translated again from the current pages. Code blocks are copied from the English pages.ci,core,desktop, andelectronget only what changed: the CI defaults paragraph and the sharding and merge-reports sections, the desktop section and video card, the trimmed desktop page that now links toreference/desktop, and the Electron "Wait and assert on the window" section withlaunchArguments.debuggingkeeps headings,<a id>anchors, accordion order, and every code block (including the example trace page) identical to English.docs/id/README.mdrequires. Terms follow its glossary.Verified
Ran locally on a branch cut from
upstream/main(6f81a32aand later):check-docs-translations: warnings fordocs/id/*go from 15 (seven pages) to 0. 277 of 412 translated pages now match their English outline and code.check-docs-mdx: 499 pages compile.check-docs-anchors: 8292 anchor links resolve.check-docs-package-managers: every command block offers npm, pnpm, bun.pnpm --filter @e2e-dev/docs run checkpasses. Warnings for other languages are unchanged.Not verified: the pages were not rendered on the docs site, and a native-speaker review is still welcome.
Summary by CodeRabbit