Commit Graph
4 Commits
Author SHA1 Message Date
qiqi 8d7ebb298f test(e2e): 新增停靠栏面板 helper(openDockPanel/openGallery),3 个 spec 改用图库面板入口
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m35s
2026-11-26 23:53:36 +08:00
qiqi 735522e487 test(e2e): 收口画布打开/安全区 helper,修掉已改名的导航锚点
背景:v3.25.6x 起旧类名 .iwb-top-nav-icon 已拆成一级导航 .iwb-nav-item 与画布工具条
.iwb-product-icon,一批 spec 还在点旧选择器 ⇒ 全部 click 超时(表现为「功能坏了」)。

改动:
1. tests/_helpers/wait.js 新增 openCanvas / canvasSafeRect / waitViewportSettled / NAV_ITEM / PRODUCT_ICON:
   统一「打开画布 → 等视口稳定 → 返回扣除停靠栏与工具条的安全区」,避免各 spec 自己算
   canvas.width * 0.75 落到侧栏上。
2. 7 个 spec 的锚点改为现名:
   - .iwb-top-nav-icon[title="服务与 Key 设置"] → .iwb-product-icon[...]
   - .iwb-top-nav-icon[title="切换主题样式"] → .iwb-navrail .iwb-nav-item[title="切换主题"]
   - 左右栏开关 → .iwb-navrail .iwb-nav-item[title="显示 / 隐藏左栏|右栏"]

仍未处理(下一轮):11 处 .iwb-top-nav-icon[title*="资源中心"] —— 资源中心已被停靠栏插件面板取代,
需要改为打开 .iwb-dock-btn[data-panel="gallery"] 并适配面板内的新 DOM。
2026-11-26 23:23:51 +08:00
qiqi 746fbc1e5e test(e2e): 修 8 个 spec 的失效选择器 .iwb-tab-home(v3.25.62 已删元素)→ 统一走导航「首页」;清死 CSS 与钉点 2026-11-24 22:16:17 +08:00
qiqi 0c7850c478 chore: fork snapshot of image-workbench-web@d5f9945 (上游文件原样,未做任何修改) 2026-11-16 18:33:00 +08:00