From 2abb0271a4d9ca9f268b8618b86dab48e1969cb0 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 9 May 2026 09:51:04 +0100 Subject: [PATCH] test: tighten real behavior proof assertions --- test/scripts/real-behavior-proof-policy.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/scripts/real-behavior-proof-policy.test.ts b/test/scripts/real-behavior-proof-policy.test.ts index 25127d0d1e6..dd56d28b356 100644 --- a/test/scripts/real-behavior-proof-policy.test.ts +++ b/test/scripts/real-behavior-proof-policy.test.ts @@ -71,10 +71,13 @@ describe("real-behavior-proof-policy", () => { }); expect(evaluation.status).toBe("passed"); - expect(evaluation.fields).toMatchObject({ + expect(evaluation.fields).toStrictEqual({ behavior: "Gateway startup no longer drops the configured Discord channel.", evidence: "![after](https://github.com/user-attachments/assets/gateway-ready)", + environment: "macOS 15.4, Node 24, local OpenClaw gateway with a redacted Discord token.", + notTested: "No known gaps.", observedResult: "The gateway stayed connected and the Discord channel showed ready.", + steps: "pnpm openclaw gateway restart, then pnpm openclaw gateway status", }); expect(labelsForRealBehaviorProof(evaluation)).toEqual([PROOF_SUPPLIED_LABEL]); });