test: 对齐 live 构建明细浮层合同

This commit is contained in:
Code Queue Review
2026-05-24 09:31:44 +00:00
parent 7f38d17cbe
commit 399b93a8eb
@@ -212,7 +212,7 @@ test("cloud web live build surface renders Beijing summary, details, missing tim
assert.match(app, /外部镜像或非 HWLAB 构建产物/u);
assert.doesNotMatch(app, /artifact report|artifact-report/u);
assert.match(styles, /\.live-build-summary-label\s*\{[^}]*min-width:\s*0;[^}]*max-width:\s*100%;[^}]*overflow-wrap:\s*anywhere;/su);
assert.match(styles, /\.live-build-list\s*\{[^}]*max-height:\s*min\(280px,\s*42dvh\);[^}]*min-width:\s*0;[^}]*overflow:\s*auto;/su);
assert.match(styles, /\.live-build-list\s*\{[^}]*min-width:\s*0;[^}]*max-height:\s*min\(352px,\s*calc\(58dvh - 54px\)\);[^}]*overflow:\s*auto;/su);
assert.match(styles, /@media \(max-width: 860px\)[\s\S]*?\.live-build-row-head\s*\{[\s\S]*?grid-template-columns:\s*1fr;/u);
});