diff --git a/frontend/scripts/regression-data-process-detail.mjs b/frontend/scripts/regression-data-process-detail.mjs index 300c6cc..25efb08 100644 --- a/frontend/scripts/regression-data-process-detail.mjs +++ b/frontend/scripts/regression-data-process-detail.mjs @@ -51,8 +51,11 @@ assert.match(detailSource, /v-model="keyword"/, '结果明细缺少搜索能力' assert.match(detailSource, /v-model="statusFilter"/, '结果明细缺少状态筛选') assert.match(detailSource, /:tooltip-options="resultCellTooltipOptions"/, '结果明细没有配置受控的长文本提示') assert.match(detailSource, /\.data-process-result-tooltip[\s\S]*?max-width:\s*min\(520px,\s*calc\(100vw - 32px\)\)/, '结果明细长文本提示没有限制最大宽度') -assert.match(detailSource, /updateDataProcessResult\(taskId\.value,[\s\S]*?expected_updated_at:/, '结果编辑没有携带并发版本时间') -assert.match(detailSource, /restoreDataProcessResult\(taskId\.value,\s*result\.id\)/, '结果恢复没有调用真实 API') +assert.match(detailSource, /已发布数据请前往数据集详情编辑/, '结果明细没有说明已发布数据的编辑入口') +assert.match(detailSource, / {
-

结果明细

查看、编辑或恢复处理结果

+
+

结果明细

+

{{ hasCurrentPublishedDataset ? '查看生成结果与质量状态,已发布数据请前往数据集详情编辑' : '查看、编辑或恢复待发布结果' }}

+
{ {{ resultStatusLabel(row.status) }} - +