docs(id): translate the Test API reference pages

AR
10h ago
+5514-0

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

  1. Each page is docs/id/reference/<name>.mdx at the same path as its English page.
  2. 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 frontmatter title/description are translated.
  3. API names, option keys, error codes, and tool names stay in English (LOCATOR_AMBIGUOUS, toHaveText, agent.act). The table headers Throws | When become Melempar | Kapan.
  4. 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 any docs/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 check passes.

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.