Files
mnote/.codex/reasonix-tasks/2026-05-21-browser-test-tab-office-upload.md
T
lix-2026 eba1010191 fix local office resource editing
- add local-folder OnlyOffice sign/callback writeback and edit-tab handling

- align main resource tabs, attachment edit menu, slash isolation, and filetree context behavior

- record Sidex/Hermes gap reviews and Reasonix task checklists
2026-05-21 05:40:06 +08:00

67 lines
2.1 KiB
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.
# Reasonix Browser Test: Tab / Office / Upload Bugs
项目根目录:`/mnt/Data1T/mnote`
请先阅读并遵守:`/home/lix/.codex/skills/reasonix-browser-tester/SKILL.md`
## 角色
你是独立浏览器测试员,不是代码修改员。
禁止修改源码、禁止 git commit、禁止回滚文件。只允许创建测试输出目录、临时测试数据和截图。
## 测试目标
验证以下 MNote UI 行为是否真实存在,并输出可复核证据:
1. 在主 resource tab 打开时,点击左侧文件树中的主 Markdown 页面,是否能切回 page tab。
2. 点击左侧“新建页面”后,是否能切到新页面的主 Markdown page tab;文件树焦点/选中是否落在新建页面。
3. 上传并打开真实文件:
`/home/lix/Downloads/重庆发展特殊化妆品可行性报告_政府汇报版.docx`
验证是否进入主 resource tab、是否出现 `/onlyoffice` iframe、是否出现错误提示或卡死。
4. 观察上传中文文件名时浏览器是否卡死;记录 console、network、页面是否还能响应。
## 建议测试方式
- 默认入口:`http://127.0.0.1:3000`
- 使用 Playwright/Chrome。
- 优先使用 local-first 临时 workspace
- 创建临时 root。
- 写入 `.mnote/workspace.json`
- 创建 `Alpha.md``Beta.md` 等测试页面。
- 可通过 `/auth` 的“测试账号快速登录”登录。
## 断言证据
请记录:
- 当前 URL。
- `.mnote-main-tab.is-active` 的文本、`data-mnote-main-tab``data-mnote-tab-kind`
- `[data-mnote-main-tab="page"]` 是否 active。
- 左侧 filetree 行的 `data-selected` / `data-focused` / `data-active`
- Office iframe `src`
- 上传 API 响应状态和 body。
- console error/warning。
- network failed 请求。
## 输出目录
写入:
`/mnt/Data1T/mnote/tmp/reasonix-browser-test-2026-05-21-tab-office-upload/`
必须输出:
- `result.json`
- `final.md`
- 至少 3 张截图:切换前 resource tab、点击 md 后状态、docx 打开状态。失败时额外截图。
## 最终回复格式
只汇报:
- 输出目录。
- 每个测试目标 pass/fail。
- 关键失败证据。
- 未能验证的原因。