feat(workflow-e2e): add E2E tests for agentAutofillMedia workflow

- Setup E2E package under packages/e2e
- Use testcontainers to spin up postgres and temporal dev server
- Overwrite activities in global registry to mock AI model output
- Track temporal workers and expose shutdownWorkers() method for clean shutdown
- Integrate test:e2e:workflow into root package.json and GitHub actions CI
This commit is contained in:
yiling
2026-07-15 10:14:59 +08:00
parent 8efc9c1865
commit b018fd0fec
10 changed files with 387 additions and 14 deletions
+2 -1
View File
@@ -26,7 +26,8 @@
"@shumai/transcode": ["./packages/transcode/src/index.ts"],
"@shumai/transcode/src/*": ["./packages/transcode/src/*"],
"@shumai/cli": ["./apps/cli/src/index.ts"],
"@shumai/tableprinter": ["./packages/tableprinter/src/index.ts"]
"@shumai/tableprinter": ["./packages/tableprinter/src/index.ts"],
"@shumai/e2e/*": ["./packages/e2e/*"]
}
},
"exclude": ["node_modules"]