769 lines
16 KiB
JSON
769 lines
16 KiB
JSON
{
|
|
"result": "PASS",
|
|
"scope": "Real isolated YCode App/preload/IPC/native filesystem. No upstream calls. Original expectations come from fixed REA archive ev_f5e9d71a676c453daab40928acfb33aeabae68ba57ffda342380cead7f1a1fe2.",
|
|
"sourceEvidence": [
|
|
"ev_f5e9d71a676c453daab40928acfb33aeabae68ba57ffda342380cead7f1a1fe2"
|
|
],
|
|
"snapshots": {
|
|
"menu": {
|
|
"rect": [
|
|
226,
|
|
378,
|
|
170,
|
|
250
|
|
],
|
|
"background": "rgb(255, 255, 255)",
|
|
"borderRadius": "16px",
|
|
"padding": "8px",
|
|
"items": [
|
|
{
|
|
"label": "置顶",
|
|
"width": 152,
|
|
"height": 32,
|
|
"fontSize": "14px",
|
|
"lineHeight": "22px",
|
|
"borderRadius": "8px",
|
|
"color": "rgba(0, 0, 0, 0.9)",
|
|
"icon": [
|
|
16,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"label": "重命名",
|
|
"width": 152,
|
|
"height": 32,
|
|
"fontSize": "14px",
|
|
"lineHeight": "22px",
|
|
"borderRadius": "8px",
|
|
"color": "rgba(0, 0, 0, 0.9)",
|
|
"icon": [
|
|
16,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"label": "在独立窗口中打开",
|
|
"width": 152,
|
|
"height": 32,
|
|
"fontSize": "14px",
|
|
"lineHeight": "22px",
|
|
"borderRadius": "8px",
|
|
"color": "rgba(0, 0, 0, 0.9)",
|
|
"icon": [
|
|
16,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"label": "打开文件夹",
|
|
"width": 152,
|
|
"height": 32,
|
|
"fontSize": "14px",
|
|
"lineHeight": "22px",
|
|
"borderRadius": "8px",
|
|
"color": "rgba(0, 0, 0, 0.9)",
|
|
"icon": [
|
|
16,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"label": "归档",
|
|
"width": 152,
|
|
"height": 32,
|
|
"fontSize": "14px",
|
|
"lineHeight": "22px",
|
|
"borderRadius": "8px",
|
|
"color": "rgba(0, 0, 0, 0.9)",
|
|
"icon": [
|
|
16,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"label": "删除任务",
|
|
"width": 152,
|
|
"height": 32,
|
|
"fontSize": "14px",
|
|
"lineHeight": "22px",
|
|
"borderRadius": "8px",
|
|
"color": "rgb(180, 44, 63)",
|
|
"icon": [
|
|
16,
|
|
16
|
|
]
|
|
}
|
|
],
|
|
"dividers": [
|
|
{
|
|
"width": 152,
|
|
"height": 1,
|
|
"margin": "6px 0px"
|
|
},
|
|
{
|
|
"width": 152,
|
|
"height": 1,
|
|
"margin": "6px 0px"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"checks": [
|
|
{
|
|
"label": "menu labels match the implemented subset",
|
|
"pass": true,
|
|
"actual": [
|
|
"置顶",
|
|
"重命名",
|
|
"在独立窗口中打开",
|
|
"打开文件夹",
|
|
"归档",
|
|
"删除任务"
|
|
],
|
|
"expected": [
|
|
"置顶",
|
|
"重命名",
|
|
"在独立窗口中打开",
|
|
"打开文件夹",
|
|
"归档",
|
|
"删除任务"
|
|
]
|
|
},
|
|
{
|
|
"label": "menu uses two dividers like the original",
|
|
"pass": true,
|
|
"actual": 2,
|
|
"expected": 2
|
|
},
|
|
{
|
|
"label": "items are 32 high like the original",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "item font is 14/22 like the original",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "item radius is 8 like the original",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "icon box is 16x16 like the original",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "menu padding is 8 like the original",
|
|
"pass": true,
|
|
"actual": "8px",
|
|
"expected": "8px"
|
|
},
|
|
{
|
|
"label": "menu radius is 16 like the original",
|
|
"pass": true,
|
|
"actual": "16px",
|
|
"expected": "16px"
|
|
},
|
|
{
|
|
"label": "danger item keeps the original danger colour",
|
|
"pass": true,
|
|
"actual": "rgb(180, 44, 63)",
|
|
"expected": "rgb(180, 44, 63)"
|
|
},
|
|
{
|
|
"label": "normal items keep the original text colour",
|
|
"pass": true,
|
|
"actual": "rgba(0, 0, 0, 0.9)",
|
|
"expected": "rgba(0, 0, 0, 0.9)"
|
|
},
|
|
{
|
|
"label": "menu minimum width is 160 like the original",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "menu sits on the original anchor offset (button left - 17, bottom + 4)",
|
|
"pass": true,
|
|
"actual": [
|
|
0,
|
|
0
|
|
],
|
|
"expected": [
|
|
0,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"label": "divider height is 1 like the original",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "overlay click closes the menu",
|
|
"pass": true,
|
|
"actual": false,
|
|
"expected": false
|
|
},
|
|
{
|
|
"label": "right-click opens the same implemented menu",
|
|
"pass": true,
|
|
"actual": [
|
|
"置顶",
|
|
"重命名",
|
|
"在独立窗口中打开",
|
|
"打开文件夹",
|
|
"归档",
|
|
"删除任务"
|
|
],
|
|
"expected": [
|
|
"置顶",
|
|
"重命名",
|
|
"在独立窗口中打开",
|
|
"打开文件夹",
|
|
"归档",
|
|
"删除任务"
|
|
]
|
|
},
|
|
{
|
|
"label": "right-click opens the menu for the row under the pointer",
|
|
"pass": true,
|
|
"actual": "d77f13ed-f42d-481d-8b5f-071ccbedbdcb",
|
|
"expected": "d77f13ed-f42d-481d-8b5f-071ccbedbdcb"
|
|
},
|
|
{
|
|
"label": "right-click does not switch the active conversation",
|
|
"pass": true,
|
|
"actual": "964a214e-45c8-47bf-b2f5-acc21232cca5",
|
|
"expected": "964a214e-45c8-47bf-b2f5-acc21232cca5"
|
|
},
|
|
{
|
|
"label": "right-click anchors the menu at the pointer",
|
|
"pass": true,
|
|
"actual": [
|
|
220,
|
|
420
|
|
],
|
|
"expected": [
|
|
220,
|
|
420
|
|
]
|
|
},
|
|
{
|
|
"label": "pin adds the original pinned-item class",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "pin shows a persistent pin badge",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "pin persists to the session store",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "pinned row offers 取消置顶 first",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "unpin clears the pinned marker",
|
|
"pass": true,
|
|
"actual": false,
|
|
"expected": false
|
|
},
|
|
{
|
|
"label": "unpin persists",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "menu exposes an inline rename input",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "rename input closes after Enter",
|
|
"pass": true,
|
|
"actual": false,
|
|
"expected": false
|
|
},
|
|
{
|
|
"label": "rename updates the row title",
|
|
"pass": true,
|
|
"actual": "Menu Renamed",
|
|
"expected": "Menu Renamed"
|
|
},
|
|
{
|
|
"label": "rename persists to the session store",
|
|
"pass": true,
|
|
"actual": true,
|
|
"expected": true
|
|
},
|
|
{
|
|
"label": "open folder targets the real session cwd",
|
|
"pass": true,
|
|
"actual": "C:\\Users\\Administrator\\.codex\\worktrees\\b01-accept-01\\YCode\\.tmp\\task-menu-9cdgdF\\fixture-workspace",
|
|
"expected": "C:\\Users\\Administrator\\.codex\\worktrees\\b01-accept-01\\YCode\\.tmp\\task-menu-9cdgdF\\fixture-workspace"
|
|
},
|
|
{
|
|
"label": "open window creates exactly one extra window",
|
|
"pass": true,
|
|
"actual": 2,
|
|
"expected": 2
|
|
},
|
|
{
|
|
"label": "open window loads the task query for that session",
|
|
"pass": true,
|
|
"actual": "?window=task&taskId=964a214e-45c8-47bf-b2f5-acc21232cca5",
|
|
"expected": "?window=task&taskId=964a214e-45c8-47bf-b2f5-acc21232cca5"
|
|
},
|
|
{
|
|
"label": "archive opens a confirmation before changing the task",
|
|
"pass": true,
|
|
"actual": "归档任务",
|
|
"expected": "归档任务"
|
|
},
|
|
{
|
|
"label": "archive restores the documented original destination",
|
|
"pass": true,
|
|
"actual": "确认将该任务归档吗?归档后可在“系统设置-数据管理”中查看。",
|
|
"expected": "确认将该任务归档吗?归档后可在“系统设置-数据管理”中查看。"
|
|
},
|
|
{
|
|
"label": "archive does not append unrequested compatibility copy",
|
|
"pass": true,
|
|
"actual": false,
|
|
"expected": false
|
|
},
|
|
{
|
|
"label": "archive confirmation actions use the recovered labels",
|
|
"pass": true,
|
|
"actual": [
|
|
"取消",
|
|
"确认归档"
|
|
],
|
|
"expected": [
|
|
"取消",
|
|
"确认归档"
|
|
]
|
|
},
|
|
{
|
|
"label": "archive confirmation uses the plan-defined 240px popconfirm",
|
|
"pass": true,
|
|
"actual": [
|
|
240,
|
|
"16px",
|
|
"16px"
|
|
],
|
|
"expected": [
|
|
240,
|
|
"16px",
|
|
"16px"
|
|
]
|
|
},
|
|
{
|
|
"label": "archive light secondary background/border",
|
|
"pass": true,
|
|
"actual": [
|
|
"rgb(255, 255, 255)",
|
|
[
|
|
"1px",
|
|
"solid",
|
|
"rgb(222, 222, 222)"
|
|
]
|
|
],
|
|
"expected": [
|
|
"rgb(255, 255, 255)",
|
|
[
|
|
"1px",
|
|
"solid",
|
|
"rgb(222, 222, 222)"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"label": "archive light primary/danger background",
|
|
"pass": true,
|
|
"actual": "rgba(0, 0, 0, 0.9)",
|
|
"expected": "rgba(0, 0, 0, 0.9)"
|
|
},
|
|
{
|
|
"label": "archive light confirmation foreground",
|
|
"pass": true,
|
|
"actual": "rgb(255, 255, 255)",
|
|
"expected": "rgb(255, 255, 255)"
|
|
},
|
|
{
|
|
"label": "archive light confirm geometry",
|
|
"pass": true,
|
|
"actual": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
],
|
|
"expected": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
]
|
|
},
|
|
{
|
|
"label": "archive light cancel geometry",
|
|
"pass": true,
|
|
"actual": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
],
|
|
"expected": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
]
|
|
},
|
|
{
|
|
"label": "archive light title weight",
|
|
"pass": true,
|
|
"actual": "600",
|
|
"expected": "600"
|
|
},
|
|
{
|
|
"label": "archive dark secondary background/border",
|
|
"pass": true,
|
|
"actual": [
|
|
"rgb(38, 38, 38)",
|
|
[
|
|
"1px",
|
|
"solid",
|
|
"rgb(61, 61, 61)"
|
|
]
|
|
],
|
|
"expected": [
|
|
"rgb(38, 38, 38)",
|
|
[
|
|
"1px",
|
|
"solid",
|
|
"rgb(61, 61, 61)"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"label": "archive dark primary/danger background",
|
|
"pass": true,
|
|
"actual": "rgba(255, 255, 255, 0.9)",
|
|
"expected": "rgba(255, 255, 255, 0.9)"
|
|
},
|
|
{
|
|
"label": "archive dark confirmation foreground",
|
|
"pass": true,
|
|
"actual": "rgba(0, 0, 0, 0.9)",
|
|
"expected": "rgba(0, 0, 0, 0.9)"
|
|
},
|
|
{
|
|
"label": "archive dark confirm geometry",
|
|
"pass": true,
|
|
"actual": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
],
|
|
"expected": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
]
|
|
},
|
|
{
|
|
"label": "archive dark cancel geometry",
|
|
"pass": true,
|
|
"actual": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
],
|
|
"expected": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
]
|
|
},
|
|
{
|
|
"label": "archive dark title weight",
|
|
"pass": true,
|
|
"actual": "600",
|
|
"expected": "600"
|
|
},
|
|
{
|
|
"label": "cancelling archive keeps the task visible",
|
|
"pass": true,
|
|
"actual": 2,
|
|
"expected": 2
|
|
},
|
|
{
|
|
"label": "archive hides exactly one row",
|
|
"pass": true,
|
|
"actual": 1,
|
|
"expected": 1
|
|
},
|
|
{
|
|
"label": "archive keeps both sessions in the archived listing",
|
|
"pass": true,
|
|
"actual": 2,
|
|
"expected": 2
|
|
},
|
|
{
|
|
"label": "archived session keeps its archivedAt marker",
|
|
"pass": true,
|
|
"actual": 1,
|
|
"expected": 1
|
|
},
|
|
{
|
|
"label": "delete uses the idle confirmation title",
|
|
"pass": true,
|
|
"actual": "删除任务?",
|
|
"expected": "删除任务?"
|
|
},
|
|
{
|
|
"label": "delete uses the idle confirmation description",
|
|
"pass": true,
|
|
"actual": "删除后,这些任务将从你的所有设备中移除,且无法恢复。",
|
|
"expected": "删除后,这些任务将从你的所有设备中移除,且无法恢复。"
|
|
},
|
|
{
|
|
"label": "delete confirmation actions use the recovered idle labels",
|
|
"pass": true,
|
|
"actual": [
|
|
"取消",
|
|
"确认"
|
|
],
|
|
"expected": [
|
|
"取消",
|
|
"确认"
|
|
]
|
|
},
|
|
{
|
|
"label": "idle delete is not marked as running",
|
|
"pass": true,
|
|
"actual": null,
|
|
"expected": null
|
|
},
|
|
{
|
|
"label": "delete light secondary background/border",
|
|
"pass": true,
|
|
"actual": [
|
|
"rgb(255, 255, 255)",
|
|
[
|
|
"1px",
|
|
"solid",
|
|
"rgb(222, 222, 222)"
|
|
]
|
|
],
|
|
"expected": [
|
|
"rgb(255, 255, 255)",
|
|
[
|
|
"1px",
|
|
"solid",
|
|
"rgb(222, 222, 222)"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"label": "delete light primary/danger background",
|
|
"pass": true,
|
|
"actual": "rgb(232, 92, 92)",
|
|
"expected": "rgb(232, 92, 92)"
|
|
},
|
|
{
|
|
"label": "delete light confirmation foreground",
|
|
"pass": true,
|
|
"actual": "rgb(255, 255, 255)",
|
|
"expected": "rgb(255, 255, 255)"
|
|
},
|
|
{
|
|
"label": "delete light confirm geometry",
|
|
"pass": true,
|
|
"actual": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
],
|
|
"expected": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
]
|
|
},
|
|
{
|
|
"label": "delete light cancel geometry",
|
|
"pass": true,
|
|
"actual": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
],
|
|
"expected": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
]
|
|
},
|
|
{
|
|
"label": "delete light title weight",
|
|
"pass": true,
|
|
"actual": "600",
|
|
"expected": "600"
|
|
},
|
|
{
|
|
"label": "delete dark secondary background/border",
|
|
"pass": true,
|
|
"actual": [
|
|
"rgb(38, 38, 38)",
|
|
[
|
|
"1px",
|
|
"solid",
|
|
"rgb(61, 61, 61)"
|
|
]
|
|
],
|
|
"expected": [
|
|
"rgb(38, 38, 38)",
|
|
[
|
|
"1px",
|
|
"solid",
|
|
"rgb(61, 61, 61)"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"label": "delete dark primary/danger background",
|
|
"pass": true,
|
|
"actual": "rgb(175, 25, 26)",
|
|
"expected": "rgb(175, 25, 26)"
|
|
},
|
|
{
|
|
"label": "delete dark confirmation foreground",
|
|
"pass": true,
|
|
"actual": "rgb(255, 255, 255)",
|
|
"expected": "rgb(255, 255, 255)"
|
|
},
|
|
{
|
|
"label": "delete dark confirm geometry",
|
|
"pass": true,
|
|
"actual": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
],
|
|
"expected": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
]
|
|
},
|
|
{
|
|
"label": "delete dark cancel geometry",
|
|
"pass": true,
|
|
"actual": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
],
|
|
"expected": [
|
|
"66px",
|
|
"19px",
|
|
"19px",
|
|
"28px",
|
|
"6px",
|
|
"12px"
|
|
]
|
|
},
|
|
{
|
|
"label": "delete dark title weight",
|
|
"pass": true,
|
|
"actual": "600",
|
|
"expected": "600"
|
|
},
|
|
{
|
|
"label": "delete removes that session from the store",
|
|
"pass": true,
|
|
"actual": false,
|
|
"expected": false
|
|
},
|
|
{
|
|
"label": "delete leaves only the archived session",
|
|
"pass": true,
|
|
"actual": 1,
|
|
"expected": 1
|
|
},
|
|
{
|
|
"label": "no renderer error logs",
|
|
"pass": true,
|
|
"actual": [],
|
|
"expected": []
|
|
}
|
|
],
|
|
"rendererErrors": []
|
|
} |