删掉立项策划用例里传给 App 的无效 agentDockVisible prop
- apps/ai-game-creator-shell/tests/appSurface/plan-gdd.suite.ts 三处 React.createElement(App, {...}) 不再传 agentDockVisible
- 同 design-agent.suite:该 prop 属于 ProjectDevelopmentView,AppProps 未声明,传入不影响任何渲染,只会误导读者以为 Agent dock 被隐藏
This commit is contained in:
@@ -26,7 +26,6 @@ function mountFormalPlanningLane(
|
||||
render(
|
||||
React.createElement(App, {
|
||||
initialProjectPath: harness.projectPath,
|
||||
agentDockVisible: false,
|
||||
planningStartMode,
|
||||
}),
|
||||
);
|
||||
@@ -659,7 +658,6 @@ export function registerPlanGddApprovalTests() {
|
||||
render(
|
||||
React.createElement(App, {
|
||||
initialProjectPath: harness.projectPath,
|
||||
agentDockVisible: false,
|
||||
planningStartMode: true,
|
||||
}),
|
||||
);
|
||||
@@ -722,7 +720,6 @@ export function registerPlanGddApprovalTests() {
|
||||
React.createElement(App, {
|
||||
initialProjectPath: harness.projectPath,
|
||||
initialPlanningPrompt: '做一个2D弹幕射击游戏',
|
||||
agentDockVisible: false,
|
||||
planningStartMode: true,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user