HEL-892 correct mask time and SelfLift labels with final validation

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-11-01 14:17:38 +08:00
co-authored by multica-agent
parent bfe844ae14
commit 93ba970a9e
44 changed files with 6713 additions and 629 deletions
+3 -1
View File
@@ -69,6 +69,8 @@ try {
check(field('34','upload').value===null&&field('34','upload').json_type==='NoneType'&&field('34','upload').role==='frontend_reference_only',`${width}本图两位置/upload null前端辅助`);
check(field('78','seed').value===999&&field('68','seed').value===1100&&field('78','control_after_generate').value==='fixed'&&field('68','control_after_generate').value==='fixed',`${width}两个种子独立固定/不运行随机`);
check(field('78','rho').json_type==='int'&&field('78','lowres_scale').json_type==='float'&&field('78','highres_tiling').value===true&&field('68','think_mode').value===false,`${width}原int/float/bool不归一`);
check(field('40','value').json_type==='int'&&!field('40','value').label.includes('布尔'),`${width}SolidMask填充值不误标布尔`);
check(field('85','start_index').unit.includes('秒')&&!field('85','start_index').label.includes('行'),`${width}裁音起点不误标行索引`);
check(b.fields.filter(f=>f.node_id==='65').length===11&&field('65','videopreview').json_type==='dict',`${width}十dict标量/一完整历史对象`);
for(const phrase of ['unresolved-soundflow','NumberConvertNode','values.b=null','135才是78','QwenH3PromptExtension','node.py类QwenH3Prompt','末四保存没有准确后端字段','sigmas.numel()<2提前返回','GPLv3','Range仅读中央目录','63.audio_latent links=null','frontend1.51.10'])check(b.steps.some(x=>x.includes(phrase)),`${width}准确身份/接口/物理链边界 ${phrase}`);
const notesBox=dialog.locator('.card').filter({has:page.getByText('源文件注释',{exact:true})});
@@ -106,7 +108,7 @@ try {
if(f.node_id==='103'&&f.field==='value'){
const rendered=await box.locator(':scope > pre').first().textContent();const hash=crypto.createHash('sha256').update(rendered,'utf8').digest('hex');check(rendered.length===40&&hash===source.texts[0].sha256,`${width}40码点中文提示完整SHA/原标点`);textRenderings.push({viewport:width,kind:'prompt103',raw_sha256:hash,rendered_utf8_sha256:hash});
}
if(['34.upload','85.duration','71.expression','78.seed','78.highres_tiling','78.tiling_mode','68.duration','68.force_unload_model','65.videopreview','65.crf','103.value','61.aspect_ratio'].includes(f.node_id+'.'+f.field)){await summary.evaluate(el=>el.scrollIntoView({block:'start'}));await page.screenshot({path:`${out}/${width}-${d.id}-${f.node_id}-${f.field}.png`});}
if(['40.value','85.start_index','34.upload','85.duration','71.expression','78.seed','78.highres_tiling','78.tiling_mode','68.duration','68.force_unload_model','65.videopreview','65.crf','103.value','61.aspect_ratio'].includes(f.node_id+'.'+f.field)){await summary.evaluate(el=>el.scrollIntoView({block:'start'}));await page.screenshot({path:`${out}/${width}-${d.id}-${f.node_id}-${f.field}.png`});}
await summary.click();
}
await dialog.getByRole('button',{name:'关闭',exact:true}).focus();await page.keyboard.press('Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}Tab焦点保留`);await page.keyboard.press('Shift+Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}ShiftTab焦点保留`);