Merge pull request '修复 AGC skill 包与 Agent 测试' (#387) from fix/ci into master
Project CI / AI game creator shell Rust shard 2/4 (push) Successful in 5m15s
Project CI / AI game creator shell Rust shard 4/4 (push) Successful in 5m16s
Project CI / AI game creator shell Rust shard 1/4 (push) Successful in 5m38s
Project CI / AI game creator shell Rust shard 3/4 (push) Successful in 6m8s
Project CI / AI game creator shell Rust smoke (push) Successful in 1m45s
Project CI / AI game creator shell Rust crates (push) Successful in 2m28s
Project CI / Frontend tests (push) Failing after 3m36s
Project CI / Repository checks (push) Failing after 3m40s
Project CI / Native shell tests (push) Successful in 6m48s
Project CI / Backend tests (push) Successful in 7m47s
Project CI / AI game creator shell web tests (push) Failing after 3m44s

Reviewed-on: https://git.genarrative.world/git/GenarrativeAI/Genarrative/pulls/387
This commit was merged in pull request #387.
This commit is contained in:
2026-09-16 18:33:52 +08:00
2 changed files with 20 additions and 5 deletions
@@ -1,6 +1,6 @@
{
"schemaVersion": "agc-skill-pack.v1",
"version": "2026-08-26.15",
"version": "2026-08-26.16",
"skills": [
{
"name": "agc-game-production-workflow",
@@ -22,7 +22,7 @@
"agents/openai.yaml",
"references/workflow-contract.md"
],
"sha256": "d9d8e7e0a6bc512e0b463e0e4bd77edee1cc57f4a6965c9553e0920e38985d5c"
"sha256": "f25e5bd27e8fc82c61b08dc66366b5b253ee8d16d7fa72dbf2c94d2462f4e7fc"
},
{
"name": "agc-project-structure",
@@ -98,7 +98,7 @@
"agents/openai.yaml",
"references/browser-evidence-contract.md"
],
"sha256": "4437cd8a927a1c79a5faf4bcd40e9946676c08a3b460ab171298cabf899f49ad"
"sha256": "92ecce42d6589e034d32b75bcd155c1fee34a8c7b843eea5780c0577300ed521"
},
{
"name": "agc-client-projection",
@@ -10300,8 +10300,23 @@ export function registerProjectAgentStatusTests() {
);
window.__TAURI__ = { core: { invoke } };
renderAppAt('/?dev&projectPath=%2Ftmp%2Fauthorized-game');
// 项目打开包含异步初始化;以按钮启用为就绪条件,再开始弹窗迟到读取场景。\n await waitFor(\n () => {\n expect(\n (\n screen.getByRole(\x27button\x27, { name: \x27刷新 Agent\x27 }) as HTMLButtonElement\n ).disabled,\n ).toBe(false);\n },\n { timeout: 5_000 },\n ); (修复 AI 创作壳测试稳定性)
// 项目打开包含异步初始化;以按钮启用为就绪条件,再开始弹窗迟到读取场景。
await screen.findByText('想做什么游戏?');
await waitFor(
() => {
expect(
(
screen.getByRole('button', {
name: '刷新 Agent',
}) as HTMLButtonElement
).disabled,
).toBe(false);
expect(
screen.getByRole('button', { name: /拆解创作方向/ }),
).toBeTruthy();
},
{ timeout: 5_000 },
);
fireEvent.click(screen.getByRole('button', { name: /拆解创作方向/ }));
await waitFor(() => {
expect(releaseConversation).not.toBeNull();