fix(webui): refine reasoning shell activity copy across locales (#6689)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-17 17:22:25 +08:00
1 parent b77e9592af
commit 966ed5e0bd
19 files changed
+535 -535

No files matched your search

+2 -2
View File
@@ -57,8 +57,8 @@ async function expectAnswerOrder(page: Page) {
}
for (const scenario of [
{ locale: "en", width: 1440, waiting: /Connection failed Retrying in [1-9][0-9]*s/, retrying: "Connection failed Retrying" },
{ locale: "zh-CN", width: 390, waiting: /连接失败 [1-9][0-9]* 秒后重试/, retrying: "连接失败 正在重试" },
{ locale: "en", width: 1440, waiting: /Connection failed\. Retrying in [1-9][0-9]*s/, retrying: "Connection failed. Retrying" },
{ locale: "zh-CN", width: 390, waiting: /连接失败,[1-9][0-9]* 秒后重试/, retrying: "连接失败,正在重试" },
]) {
test(`shows retry progress in the live thread at ${scenario.width}px (${scenario.locale})`, async ({ page }, info) => {
await page.setViewportSize({ width: scenario.width, height: 900 });