mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-15 05:41:57 +00:00
对比页没带运行时的说明把菜单项的两种叫法都写上:上一次没有成功时运行详情的菜单里写的是「与上一次成功的运行对比」,说明只写「与上一次对比」会让人找不到
check-compare 跟着核对两种叫法都在
This commit is contained in:
@@ -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