Skip to content

docs(pt): bring the Migrate guides and 10 reference pages in line with English - #2416

Merged
okwasniewski merged 2 commits into
e2e-inc:mainfrom
eriveltonelias:docs-pt-catch-up-migrate-reference
Nov 28, 2026
Merged

okwasniewski merged 2 commits into
e2e-inc:mainfrom
eriveltonelias:docs-pt-catch-up-migrate-reference

Conversation

@eriveltonelias

@eriveltonelias eriveltonelias commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

What and why

English changed these pt-translated pages after they merged. This brings them back in line with the current English pages. It is the third of three catch-up PRs for #1890; with #2414 and #2415, pnpm docs:check has no pt warning left on main's pages.

  • Migrate: playwright, cypress, appium, maestro, detox, selenium. English moved rows from "Use today" into the mapping tables as e2e gained browser.clock, scrollTo, device.lock, hardware buttons, test.step, services, and browser.name, and playwright gained an Electron section. Each migrationPrompt is unchanged in English, and the pt prompts still match it in every escaped span and URL. migrate/testerarmy needed no change.
  • Reference: mcp, engine, test, web, mobile, expect, cli, config, errors, core. That includes the members docs(reference): add the members three type blocks leave out #2381 added to type blocks, Electron in mcp, errors, and core, the engine additions (expressionSelectors, sleep, readPngSize), the waitForURL glob rules, and the rewritten negation section on expect.

Issue

Part of #1890

Verified

Ran it locally: yes

  • Each page's English changes were taken from the base commit of the pt PR that last updated it.
  • The six docs checks behind pnpm docs:check pass with no warnings for these pages: 444 pages compile, and 7212 anchor links resolve. (The one pt warning left is cache, which docs(pt): bring cache, mobile, web, and index back in line with English #2414 fixes.)
  • On every page, the code blocks are byte-identical to English, and the inline code spans, link targets, #anchors, ids, and component tags match English in the same order (the waitForURL bullet's double-backtick span checked with a CommonMark-aware span comparison). No em or en dashes.
  • Fresh-context second reads checked every mapping row's support claim and every changed number, condition, and error code, and found nothing critical. They caught "^ e \{ e \} escapados", which read as if ^ were escaped too, and "uma leitura negada" on expect, which reads as a .not read on a page where "negada" means negation; English means a read denied by policy. Both are fixed.
  • Local Mintlify preview: all 16 pages render with the same heading, table, code block, and Accordion counts as English.

View guided diff

…h English

- migrate: playwright, cypress, appium, maestro, detox, selenium (new
  mappings for services, browser.clock, scrollTo, lock and hardware
  buttons, test.step, and an Electron section on playwright)
- reference: mcp, engine, test, web, mobile, expect, cli, config, errors,
  core (the e2e-inc#2381 type members, Electron, and the other English changes)
@github-actions github-actions Bot added the size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 27, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 16 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/pt/reference/errors.mdx">

<violation number="1" location="docs/pt/reference/errors.mdx:180">
P3: `ELECTRON_INSTALL_FAILED` is also raised when the ffmpeg download for video recording fails (`packages/electron/src/ffmpeg.ts`), but this row only lists the Electron binary. Add that case so users know to check `E2E_FFMPEG_PATH`. Apply the same change to the English row, so the two pages stay in sync.</violation>
</file>

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

View guided diff | Re-trigger cubic

Comment thread docs/pt/migrate/playwright.mdx Resolved
Comment thread docs/pt/reference/errors.mdx Resolved
@eriveltonelias

Copy link
Copy Markdown
Contributor Author

/ready

@github-actions github-actions Bot added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 27, 2026

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review (AI triage pass), not yet read by a maintainer.

Reviewed 28e57e408. Brings the pt Migrate guides and 10 reference pages back in line with English; only files under docs/pt/ change, nothing to fix.

Checked:

  • check-docs-translations at this head reports no warning for these 16 pages. It fixes the migrate/playwright heading, the engine heading level and code block, and the expect/mobile/test/web code-block drift that main reports. The only pt warning left is cache, which #2414 fixes. Anchors (7212 links), MDX, examples, and package-manager checks pass.
  • Inline code spans, link targets, component tags, and numbers match English (main aaf9231). The only differences are the translated migrationPrompt strings, and this diff does not touch them.
  • Spot-checked the new .not paragraph on expect: it now says a negated matcher passes on the first satisfying read, as docs/reference/expect.mdx:948 does. Also checked the "denied read" wording and the test.slow/setTimeout/step type block, which is byte-identical to English.
  • The two cubic threads (getAllWindows()[0], the ELECTRON_INSTALL_FAILED scope) quote the English pages as written. Those changes belong in English first.
  • No em or en dashes in added lines. CI is green.

@okwasniewski
okwasniewski added this pull request to the merge queue Nov 28, 2026
Merged via the queue into e2e-inc:main with commit 2fd386f Nov 28, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants