fix(ci): 质量检查 - 修复预演台重构后 Web 与后端检查失败

补回预演台模式切换、模式门控时间轴与非模态引导挂载,取景切换器使用激活态 token,模板场景补齐 environment 字段;E2E 改为验证新版 FloatingDock 与模式切换下的时间轴,工作流改用重命名后的 test:previs:e2e;修正 canvas_share.go 的 gofmt 格式,并按新布局与欢迎页外观行为校准合同测试。
This commit is contained in:
ddcat666
2026-10-06 14:21:42 +08:00
parent 68491b4c20
commit b8d0b25e3c
10 changed files with 73 additions and 32 deletions

View File

@@ -64,7 +64,8 @@ for (const pathname of ["/welcome", "/welcome/"]) {
test(`public film entry remains independent: ${pathname}`, async () => {
const entry = await prepareEntry(false, pathname);
await entry.loaded;
expect(entry.events).toEqual(["./welcome-application"]);
// 欢迎页沿用站点外观(#683),但外观请求不阻塞欢迎页入口加载。
expect(entry.events).toEqual(["appearance", "./welcome-application"]);
});
}