test: reuse Docker test-state in core E2E lanes

This commit is contained in:
Peter Steinberger
2026-04-28 19:47:03 +01:00
parent 4b69dc6228
commit d22a851253
12 changed files with 136 additions and 29 deletions

View File

@@ -182,8 +182,10 @@ describe("docker build helper", () => {
it("keeps OpenAI web search smoke on one gateway agent connection", () => {
const runner = readFileSync(OPENAI_WEB_SEARCH_MINIMAL_E2E_PATH, "utf8");
expect(runner).toContain('"--expect-final"');
expect(runner).toContain('[...gatewayArgs, "agent", "--params"');
expect(runner).toContain("const callGateway = await loadCallGateway();");
expect(runner).toContain('method: "agent"');
expect(runner).toContain("expectFinal: true");
expect(runner).toContain('scopes: ["operator.write"]');
expect(runner).not.toContain('"agent.wait"');
});