Merge pull request #446 from pikasTech/fix/live-build-contract-359-20260524

test: 对齐 live 构建明细浮层合同
This commit is contained in:
Lyon
2026-05-24 17:32:53 +08:00
committed by GitHub
@@ -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);
});