补齐跨工程插件启动的界面测试响应
Project CI / AI game creator shell Rust shard 2/4 (push) Successful in 7m17s
Project CI / AI game creator shell Rust shard 3/4 (push) Successful in 7m29s
Project CI / AI game creator shell Rust shard 4/4 (push) Successful in 7m36s
Project CI / AI game creator shell Rust shard 1/4 (push) Successful in 7m42s
Project CI / AI game creator shell Rust smoke (push) Successful in 2m28s
Project CI / AI game creator shell Rust crates (push) Successful in 2m47s
Project CI / Backend tests (push) Successful in 8m49s
Project CI / Repository checks (push) Successful in 8m40s
Project CI / Frontend tests (push) Successful in 9m41s
Project CI / Native shell tests (push) Successful in 12m29s
Project CI / AI game creator shell web tests (push) Failing after 4m51s

为五个项目打开与对话恢复测试提供插件项目绑定及空插件列表响应

保留原有业务状态断言和产品错误提示,修复完整界面门禁暴露的测试桩缺口
This commit is contained in:
kdletters
2026-09-20 10:58:10 +08:00
parent c1d26f11df
commit fc0ce4ee5f
2 changed files with 10 additions and 0 deletions
@@ -516,6 +516,8 @@ export function registerProjectConversationTests() {
);
const invoke = vi.fn(
async (command: string, args?: Record<string, unknown>) => {
if (command === 'set_agc_plugin_project_path') return null;
if (command === 'list_agc_plugins') return [];
if (command === 'append_local_permission_log') {
return {};
}
@@ -580,6 +582,8 @@ export function registerProjectConversationTests() {
);
const invoke = vi.fn(
async (command: string, args?: Record<string, unknown>) => {
if (command === 'set_agc_plugin_project_path') return null;
if (command === 'list_agc_plugins') return [];
if (command === 'append_local_permission_log') {
return {};
}
@@ -630,6 +634,8 @@ export function registerProjectConversationTests() {
);
const invoke = vi.fn(
async (command: string, args?: Record<string, unknown>) => {
if (command === 'set_agc_plugin_project_path') return null;
if (command === 'list_agc_plugins') return [];
if (command === 'append_local_permission_log') {
return {};
}
@@ -3110,6 +3116,8 @@ export function registerProjectConversationTests() {
});
const invoke = vi.fn(
async (command: string, args?: Record<string, unknown>) => {
if (command === 'set_agc_plugin_project_path') return null;
if (command === 'list_agc_plugins') return [];
const targetProjectPath = String(args?.projectPath ?? '');
if (command === 'append_local_permission_log') {
return {};
@@ -10148,6 +10148,8 @@ export function registerProjectWorkbenchNavigationTests() {
);
const invoke = vi.fn(
async (command: string, args?: Record<string, unknown>) => {
if (command === 'set_agc_plugin_project_path') return null;
if (command === 'list_agc_plugins') return [];
if (command === 'append_local_permission_log') {
return {};
}