fix: align drainage frontend configuration

This commit is contained in:
2026-07-22 15:01:35 +08:00
parent 72850761ce
commit 0995172828
45 changed files with 853 additions and 339 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ test("speech capability detection preserves the server hydration tree", async ({
value: class SpeechRecognition {}
});
});
await page.goto("/", { waitUntil: "networkidle" });
await page.goto("/", { waitUntil: "domcontentloaded" });
await expect(page.getByRole("button", { name: "语音输入" })).toBeVisible();
await expect(page.getByRole("button", { name: "权限批准模式" })).toBeVisible();
@@ -45,7 +45,7 @@ test("speech recognition failure clears the active animation and explains the er
}
});
});
await page.goto("/", { waitUntil: "networkidle" });
await page.goto("/", { waitUntil: "domcontentloaded" });
await page.getByRole("button", { name: "语音输入" }).click();
@@ -77,7 +77,7 @@ test("speech recognition writes final transcript into the prompt", async ({ page
}
});
});
await page.goto("/", { waitUntil: "networkidle" });
await page.goto("/", { waitUntil: "domcontentloaded" });
await page.getByRole("button", { name: "语音输入" }).click();