docs(pt): bring eight reference pages back in line with English after #2448
Merged
ER
3d ago+561+561+012345678901234567890123456789-1323-1323-0123456789012345678901234567890123456789
What and why
#2448 trimmed the English reference pages: it removed implementation detail and the JSDoc from their declarations. This brings eight pt reference pages back in line with the current English pages.
reference/mobileandreference/test: rebuilt section by section, 1755 to 1520 lines and 1884 to 1541 lines (English has 1476 and 1499).reference/expect,reporters,runner,security,request, andapp: what English cut is gone, and what it added is in, including the console output andreport.jsonsections in reporters, thepressRemoteerrors in mobile, and theTestFixturestable in test.- Every code block matches English byte for byte, so the old translated JSDoc comments are gone.
- The new descriptions are translated.
- After merging main,
reference/mobilealso translates #2241: thelinkrow of the roles table now names React Native'srole="link"on Android, and two new paragraphs cover how Android names aTextlink and a description in another language. docs/pt/README.md: seven glossary rows, among them "sobrescrita" for overriding a fixture (aspt/fixtureshas it), "deter" for a device another session holds, and "Campo, Descrição" for table headers.
Issue
Part of #1890
Verified
Ran it locally: yes
- Code blocks, inline code spans, link targets,
#anchors, ids, and component tags match English in the same order on all eight pages. Onreference/request, the per-page comparison flags the double-backtick spanrequest.get(`${app.baseUrl}/api/orders`); a per-line span diff shows the spans identical. The exception: 3 links into the ptreference/config,cli,errors, oragentpages point at the page without English's anchor, since those pages lack the section until they catch up with English. - The six checks behind
pnpm docs:checkexit 0, and the translation check reports nothing for these pages. - No em or en dashes, no repeated line tails, and no
keywordsfrontmatter. - Three fresh-context reviews found no wrong fact. They caught "substituição" for a fixture override (it reads as replacing the fixture), "detidos" for held devices (it reads as arrested), a "Se uma gravação…" definition that read as an unfinished condition, an ambiguous pronoun in the abandoned-setup note, and a few wording nits. All are fixed.
Summary by CodeRabbit
- Documentation
- Updated Portuguese reference guides for mobile testing, assertions, reporters, requests, the runner, security, and the test API.
- Clarified device selection and platform-specific behavior, recording timestamps, screenshot options, assertion timeouts, report contents, and request errors.
- Revised guidance on hosted sessions, test hooks, fixture scopes and overrides, and security behavior.
- Updated glossary terms and documented Electron engine exports, fixture fields, and deprecated APIs.