test: preserve localized agent tabs · openclaw/openclaw@e101ee1
openclaw
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -344,7 +344,7 @@ describe("renderAgents", () => {
|
344 | 344 | (button) => button.textContent?.trim(), |
345 | 345 | ); |
346 | 346 | |
347 | | -expect(tabLabels).toContain("Cron Jobs"); |
| 347 | +expect(tabLabels).toEqual(["概览", "文件", "工具", "技能", "频道", "Cron Jobs"]); |
348 | 348 | expect(container.textContent).toContain("上次刷新:从未"); |
349 | 349 | } finally { |
350 | 350 | await i18n.setLocale("en"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。