Repository navigation
docs(pt): bring the Migrate guides and 10 reference pages in line with English - #2416
Merged
okwasniewski merged 2 commits intoNov 28, 2026
Merged
okwasniewski merged 2 commits into
okwasniewski merged 2 commits into
Conversation
…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)
Contributor
There was a problem hiding this comment.
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
Contributor
Author
|
/ready |
okwasniewski
left a comment
Member
There was a problem hiding this comment.
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-translationsat this head reports no warning for these 16 pages. It fixes themigrate/playwrightheading, theengineheading level and code block, and theexpect/mobile/test/webcode-block drift thatmainreports. The only pt warning left iscache, which #2414 fixes. Anchors (7212 links), MDX, examples, and package-manager checks pass.- Inline code spans, link targets, component tags, and numbers match English (
mainaaf9231). The only differences are the translatedmigrationPromptstrings, and this diff does not touch them. - Spot-checked the new
.notparagraph onexpect: it now says a negated matcher passes on the first satisfying read, asdocs/reference/expect.mdx:948does. Also checked the "denied read" wording and thetest.slow/setTimeout/steptype block, which is byte-identical to English. - The two cubic threads (
getAllWindows()[0], theELECTRON_INSTALL_FAILEDscope) quote the English pages as written. Those changes belong in English first. - No em or en dashes in added lines. CI is green.
okwasniewski
approved these changes
Nov 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:checkhas no pt warning left onmain's pages.playwright,cypress,appium,maestro,detox,selenium. English moved rows from "Use today" into the mapping tables as e2e gainedbrowser.clock,scrollTo,device.lock, hardware buttons,test.step, services, andbrowser.name, andplaywrightgained an Electron section. EachmigrationPromptis unchanged in English, and the pt prompts still match it in every escaped span and URL.migrate/testerarmyneeded no change.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 inmcp,errors, andcore, theengineadditions (expressionSelectors,sleep,readPngSize), thewaitForURLglob rules, and the rewritten negation section onexpect.Issue
Part of #1890
Verified
Ran it locally: yes
pnpm docs:checkpass with no warnings for these pages: 444 pages compile, and 7212 anchor links resolve. (The one pt warning left iscache, which docs(pt): bring cache, mobile, web, and index back in line with English #2414 fixes.)#anchors, ids, and component tags match English in the same order (thewaitForURLbullet's double-backtick span checked with a CommonMark-aware span comparison). No em or en dashes.^e\{e\}escapados", which read as if^were escaped too, and "uma leitura negada" onexpect, which reads as a.notread on a page where "negada" means negation; English means a read denied by policy. Both are fixed.