chore: 页面表面回归与数据处理文案适配

页面表面回归选择器更新为 task-overview,任务概览补充表面背景变量,数据处理结果步骤标题文案精简。
This commit is contained in:
caoxiaozhu
2026-07-16 09:36:39 +08:00
parent 4899bc8779
commit a6085a2612
3 changed files with 3 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ assert.match(rootPageCardBlock, /box-shadow:\s*none\s*!important;/, '页面根
const trainingLogStyle = [trainingLogSource, trainingOverviewSource]
.flatMap((source) => parseSfc(source).descriptor.styles.map((item) => item.content))
.join('\n')
const businessSurfaceBlock = extractCssBlock(trainingLogStyle, '.profile-section,\n.runtime-panel')
const businessSurfaceBlock = extractCssBlock(trainingLogStyle, '.task-overview')
assert.match(
businessSurfaceBlock,
/background:\s*var\(--app-surface-bg\);/,