docs(locator): drop type markup from ariaSnapshotJSON details - #42136
Conversation
Freeform Details prose is not run through the type renderer, so <[string]> survives into the MDX and breaks the Docusaurus build. microsoft/playwright.dev#2115 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fd622800-f8e4-4a94-8f6d-73bdacd2f1d5
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fd622800-f8e4-4a94-8f6d-73bdacd2f1d5
Test results for "MCP"3 failed 8060 passed, 1284 skipped Merge workflow run. |
Test results for "tests 1"1 failed 3 flaky51235 passed, 1190 skipped Merge workflow run. |
|
Hi, I'm the Playwright bot and I took a look at the CI failures here. 🟢 Clear — all three failures are pre-existing flakesThis PR only edits docs prose and the generated DetailsThe diff touches Pre-existing flake / infra
Triaged by the Playwright bot - agent run |
|
Hi, I'm the Playwright bot and I took a first look at the CI failures. 🟢 CI is clear — all four failures are pre-existing flakesThis PR is docs-only (it drops DetailsOverall: the diff is confined to Pre-existing flake / infra
The three tests the report already flagged as flaky ( I'm a first pass, not the final word — but with a docs-only diff and a flake history for each failure, I don't see anything caused by this PR. Triaged by the Playwright bot - agent run |
The freeform Details list on
locator.ariaSnapshotJSONused<[string]>/<[Object]>type markup. That syntax only gets escaped when it goes through the structured property renderer - in plain prose it lands in the MDX as-is and Docusaurus chokes on it (Unexpected character '[').That's what's breaking the docs roll: microsoft/playwright.dev#2115
Dropped the type annotations and left the field names + descriptions.