Files
memind/scenarios/image-theme-page.json
T
john b93c92a3e2
Memind CI / Test, build, and release guards (push) Failing after 14m27s
test(scenario): cover multi-image page generation end to end
The read_image poisoning fix had no end-to-end guard because scenarios could
only send text. Add an upload_images step that renders and uploads visually
distinct images, let chat steps attach them the same way the WeChat channel
does, and assert the generated page actually embeds every upload.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-22 10:50:23 +08:00

46 lines
1.6 KiB
JSON

{
"id": "image-theme-page",
"name": "多图主题页面(视觉链路回归)",
"description": "上传 4 张图 → 要求做成主题页面 → 验证页面生成、公网可访问、4 张图都嵌进页面;复现唐用户 read_image 污染文本模型会话导致页面不生成的故障",
"account": {
"username": "john2",
"password": "888888"
},
"steps": [
{
"action": "login",
"label": "登录 john2 账户"
},
{
"action": "upload_images",
"label": "上传 4 张图片",
"categoryCode": "oa",
"images": [
{ "filename": "theme-1.jpg", "background": "#1e3a8a", "shape": "circle", "accent": "#fbbf24" },
{ "filename": "theme-2.jpg", "background": "#7f1d1d", "shape": "square", "accent": "#fca5a5" },
{ "filename": "theme-3.jpg", "background": "#064e3b", "shape": "triangle", "accent": "#6ee7b7" },
{ "filename": "theme-4.jpg", "background": "#3b0764", "shape": "diamond", "accent": "#e9d5ff" }
]
},
{
"action": "chat",
"label": "要求把 4 张图做成主题页面",
"message": "把我刚才发的这 4 张图片做成一个主题页面,每张图配一段文字",
"useUploadedAssets": true,
"expect": {
"assistantMinChars": 20,
"timeoutMs": 420000,
"page": {
"requirePublicLink": true,
"requireHttp200": true,
"requireUploadedImages": true
},
"forbidReplyPatterns": [
"unknown variant",
"没有按服务号页面技能真正生成成功"
]
}
}
]
}