HEL-907: custom-voice web flow + 3 real calls window record, budget accounts, recycle evidence; hel900 harness minimal fix

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
xiaomo
2026-10-28 20:29:23 +08:00
co-authored by multica-agent
parent 038f1eeae7
commit 5625de6606
116 changed files with 1959 additions and 1 deletions
+5 -1
View File
@@ -139,7 +139,11 @@ await ctl('/__fail?register=503');
await click('.voice-sec .take button', '登记这段声音');
check('503: honest message, take still there for a retry', await until(async () => (await status()).includes('音色登记服务')) && await exists('.voice-sec .take .pill'), await status());
await shot('edge-03-register-503');
await js(`(() => { const b = [...document.querySelectorAll('.voice-sec .take button')].find(e => e.textContent.includes('登记这段声音')); b.click(); b.click(); return true; })()`);
// HEL-907: since HEL-903 a 5xx after filing leaves the "maybe registered" state — refresh first, then the checked re-register.
await until(async () => (await disabled('.voice-sec .take button', '刷新列表')) === false);
await click('.voice-sec .take button', '刷新列表');
await until(async () => (await status()).includes('没有新出现'));
await js(`(() => { const b = [...document.querySelectorAll('.voice-sec .take button')].find(e => e.textContent.includes('再登记')); b.click(); b.click(); return true; })()`);
await until(async () => (await text('.voice-sec .voice-list')).includes('cg-'));
const ups = await ctl('/__uploads');
check('double tap registers once; transcription only on explicit opt-in', ups.length === 2 && ups.at(-1).allow_asr === 'true' && ups.at(-1).prompt_text === '', JSON.stringify(ups.map(u => u.allow_asr)));