Skip to content

[test] browser: connect two images to a first-last video node - #101

Merged
nikiwang-125 merged 2 commits into
mainfrom
test/browser-first-last-frame-connections
Nov 5, 2026
Merged

nikiwang-125 merged 2 commits into
mainfrom
test/browser-first-last-frame-connections

Conversation

@nikiwang-125

Copy link
Copy Markdown
Collaborator

Summary

为 #83(已由 #98 修复)补充浏览器回归测试。脚本不操作首尾帧选择器,只在画布上依次拖线连接两张图片,验证声明了尾帧的模型能自动填入首帧和尾帧。

Refs #83

Changes

  • 新增 tests/browser/first_last_frame_connections.mjs:
    • 上传两张真实图片,新建空白视频节点,选择 MiniMax-H3,切换到首尾帧模式。
    • 用鼠标依次把 A、B 拖线连到视频节点。
    • 核对生成面板显示首帧为 A、尾帧为 B,项目保存的引用角色为 first_frame / last_frame,重载后不变。
  • 在 docs/development/validation.md 的 MiniMax 小节加入这条命令和说明。

Validation

  • Windows 11 + Edge(Playwright chromium,通过 CHROMIUM_PATH 指定),使用隔离的 creation_server.py 和 Vite:
    • main:通过。
    • 修复前的提交(9ff8a7a7):按预期失败,尾帧槽位为空。
  • 全程只使用模型替身,没有调用 MiniMax 服务。

🤖 Generated with Claude Code

nikiwang-125 and others added 2 commits November 5, 2026 22:00
Add an isolated browser check for #83. It uploads two real images, adds a
blank video node on a MiniMax model that declares first and last frames,
switches to first-last mode without touching the frame pickers, and drags
both images onto the node on the canvas. It then checks that the composer
shows the first and last frames in edge order, that the project stores
first_frame and last_frame references, and that the assignment survives a
reload.

The check fails on the code before #98 (the last frame stays empty) and
passes on main. No remote generation is called.

Refs #83

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Other browser checks register their own MiniMax-H3 configurations on the
shared fixture, so choosing the model by its label matched several options
and the picker click failed in strict mode. Select this check's own
configuration by its option id instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nikiwang-125
nikiwang-125 merged commit 52626ce into main Nov 5, 2026
@nikiwang-125
nikiwang-125 deleted the test/browser-first-last-frame-connections branch November 5, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant