chore: merge feat/simple-entry-diagnostics into feat/clarity-quality-controls

# Conflicts:
#	src/client/pages/HostPage.tsx
#	src/client/styles.css
This commit is contained in:
AAA committed 2026-08-19 13:33:48 +08:00
commit fb19e59c27
12 files changed
+311 -109

No files matched your search

+14
View File
@@ -1416,6 +1416,20 @@ async function runQualityControlSmoke(
.map((page) => page.label),
);
const sendingPages = pages.filter((page) => sendingLabels.has(page.label));
await Promise.all(
sendingPages.map((page) =>
evaluate(
cdp,
page,
`(() => {
const toggle = document.querySelector('.connection-details-toggle input');
if (!(toggle instanceof HTMLInputElement)) return false;
if (!toggle.checked) toggle.click();
return true;
})()`,
),
),
);
const waitForReadback = async (label: "平衡" | "清晰"): Promise<void> => {
const expected = JSON.stringify(`${label} / ${label}`);
await Promise.all(