mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-15 00:31:58 +00:00
对比页没带运行时的说明把菜单项的两种叫法都写上:上一次没有成功时运行详情的菜单里写的是「与上一次成功的运行对比」,说明只写「与上一次对比」会让人找不到
check-compare 跟着核对两种叫法都在
This commit is contained in:
@@ -3240,7 +3240,8 @@ export const RUN_COMPARE_TEXT = {
|
||||
pickGone: (id: string, missing: boolean) => `${id}(${missing ? '记录不存在' : '无法读取'})`,
|
||||
// 页面状态
|
||||
noTarget: '未指定要对比的运行',
|
||||
noTargetHint: '在运行详情的「更多」菜单中选择「与上一次对比」,即可对照本次与上一次成功的运行',
|
||||
/** 菜单项的两种叫法都写上:上一次没有成功时,菜单里写的是「与上一次成功的运行对比」 */
|
||||
noTargetHint: '在运行详情的「更多」菜单中选择「与上一次对比」或「与上一次成功的运行对比」,即可对照本次与上一次成功的运行',
|
||||
toRuns: '前往记录',
|
||||
finding: '正在查找基准运行…',
|
||||
loading: '正在对比两次运行…',
|
||||
|
||||
@@ -1192,7 +1192,8 @@ await section('出错与找不到基准', async () => {
|
||||
|
||||
const none = await open('/runs/compare')
|
||||
await settled(none.page, 'no-target')
|
||||
check('什么都没带:说明从哪里进来', (await text(none.page, '[data-compare-page]')).includes('与上一次对比'))
|
||||
const howTo = await text(none.page, '[data-compare-page]')
|
||||
check('什么都没带:说明从哪里进来,菜单项的两种叫法都写上', howTo.includes(`「${MENU}」`) && howTo.includes(`「${MENU_LAST_OK}」`), howTo)
|
||||
})
|
||||
|
||||
await section('基准运行读不到(删了、链接过期)', async () => {
|
||||
|
||||
Reference in New Issue
Block a user