test: retry Windows Parallels agent turn

This commit is contained in:
Peter Steinberger
2026-05-01 13:19:34 +01:00
parent 6c55106c80
commit f85bd0f5a9
2 changed files with 35 additions and 21 deletions

View File

@@ -452,9 +452,10 @@ console.log(JSON.stringify(result));
expect(script).toContain('guestPowerShellBackground(\n "agent-turn"');
expect(script).toContain("OPENCLAW_PARALLELS_WINDOWS_AGENT_TIMEOUT_S");
expect(script).toContain("finalAssistant(Raw|Visible)Text");
expect(script).toContain("parallels-windows-smoke-retry-$attempt");
expect(script).not.toContain("$config.models.providers");
expect(script).not.toContain("timeoutSeconds = 300");
expect(script).toContain("parallels-windows-smoke.jsonl");
expect(script).toContain('"$sessionId.jsonl"');
});
it("waits through transient Windows restoring state before VM operations", () => {