mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-17 05:00:44 +00:00
test(release): accept codex normal status prose
This commit is contained in:
@@ -132,6 +132,15 @@ describe("gateway codex harness live helpers", () => {
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
it("accepts the normal-work status emitted by current codex", () => {
|
||||
const text =
|
||||
"Working normally. Current cwd is `/tmp/openclaw-live-codex-harness/workspace/dev`, sandbox is workspace-write, network is restricted, and the current date is 2026-05-09 UTC.";
|
||||
|
||||
expect(
|
||||
EXPECTED_CODEX_STATUS_COMMAND_TEXT.some((expectedText) => text.includes(expectedText)),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
it("accepts the ready status emitted by current codex", () => {
|
||||
const text = "Ready.";
|
||||
|
||||
|
||||
@@ -91,6 +91,7 @@ export const EXPECTED_CODEX_STATUS_COMMAND_TEXT = [
|
||||
"Status shown above.",
|
||||
"No active task is running.",
|
||||
"No active work is running.",
|
||||
"Working normally.",
|
||||
"Ready.",
|
||||
] as const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user