docs(id): translate the Test API reference pages
AR
10h ago+5514+5514+0123456789012345678901234567890123456789-0-0-0123456789
What
Adds Indonesian translations of the six pages in the Reference > Test API group, under docs/id/reference/: test, expect, screen, app, request, and agent.
Part of #1890. reference/* was the next group in its suggested order, after Migrate.
Why
These are the API pages a reader opens from almost every guide, and docs/id/reference/ did not exist yet, so each link fell back to English.
How it works
- Each page is
docs/id/reference/<name>.mdxat the same path as its English page. - Every heading,
<a id>anchor,<Accordion>/<Note>element, link target, and fenced code block is the English one byte for byte. Only prose, table text, and frontmattertitle/descriptionare translated. - API names, option keys, error codes, and tool names stay in English (
LOCATOR_AMBIGUOUS,toHaveText,agent.act). The table headersThrows | WhenbecomeMelempar | Kapan. - Terms follow the glossary in
docs/id/README.md.
Verified
Ran locally on a branch cut from upstream/main:
check-docs-translations: no warning for anydocs/id/reference/*page, so outline and code match English. 271 of 417 translated pages now match, up from the previous count.check-docs-mdx: 504 pages compile.check-docs-anchors: 8599 anchor links resolve.check-docs-package-managers: every command block offers npm, pnpm, bun.pnpm --filter @e2e-dev/docs run checkpasses.
The 7 older docs/id/* pages that still warn are handled in #2601, not here.
Not verified: the pages were not rendered on the docs site, and a native-speaker review is still welcome. These are long API pages (about 5,500 lines together), so a review of one page at a time is fine.
Summary by CodeRabbit
- Documentation
- Added Indonesian-language API references for the agent, app, expect, request, screen, and test features.
- The guides cover usage, options, behaviors, errors, limits, and TypeScript types, with examples and links to related references.