test(docs): retarget translated readme link drift at current links

e572c38dc replaced the localized guide URLs in the translated readmes with
repository-relative guide links, so the drift fixture no longer contained
`https://rea.tools/zh-CN/guides/native/`. Exercise the same missing-target,
wrong-locale, and query drift on a localized showcase link the readme still
carries, and add drift for the new relative guide link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kaoru0822 2026-10-14 02:16:24 +00:00
parent c0e4aa91bb
commit aff46f51fd
1 changed files with 6 additions and 5 deletions

View File

@ -57,17 +57,18 @@ const README_LINK_DRIFT_MUTATIONS = [
"(../installation.md#supported-agents)",
"(../installation.md#missing-agents)",
],
["(../native-investigation.md)", "(../missing-investigation.md)"],
[
"https://rea.tools/zh-CN/guides/native/",
"https://rea.tools/zh-CN/showcase/dx-ball/",
"https://rea.tools/zh-CN/missing/",
],
[
"https://rea.tools/zh-CN/guides/native/",
"https://rea.tools/zh-TW/guides/native/",
"https://rea.tools/zh-CN/showcase/dx-ball/",
"https://rea.tools/zh-TW/showcase/dx-ball/",
],
[
"https://rea.tools/zh-CN/guides/native/",
"https://rea.tools/zh-CN/guides/native/?other=1",
"https://rea.tools/zh-CN/showcase/dx-ball/",
"https://rea.tools/zh-CN/showcase/dx-ball/?other=1",
],
[
'src="../assets/rea-hopper-analysis.png"',