Files
ElyOffice/tasks/reviews/C05.3-r3.md
T

4 lines
935 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
FAIL
tests/scripts/shell.sh:37 — 本轮新增的菜单动作批量执行掩盖了快捷键错误:crates/ely-ui/examples/shell.rs:223–239 在发送 Cmd+S 后执行全部文件菜单动作,脚本仅检查整份日志是否出现 Save,最终 recent 也被后续动作覆盖。复现:在临时副本中将 crates/ely-ui/src/commands.rs:77 的 `KeyBinding::new(SAVE.keys, Save, Some(CONTEXT))` 改成 `KeyBinding::new(SAVE.keys, Open, Some(CONTEXT))`,运行 `bash tests/scripts/shell.sh` 仍以 0 退出并报告全部通过;此时 Cmd+S 执行 Open,文件菜单 Save 执行 Save,违反 UX-02 的相同结果要求。上一轮菜单 Save→Open 变异已被新增映射断言检出,但快捷键验收出现回归。修复方向:逐项独立触发菜单选择和对应快捷键,在每次触发后立即断言实际执行的命令,再比较两条路径的结果,使快捷键错接或缺失触发测试失败。