Skip to content

Commit cb5bb9b

Browse files
committed
docs: document e2e helpers
1 parent bafe17e commit cb5bb9b

76 files changed

Lines changed: 76 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

scripts/e2e/kitchen-sink-rpc-walk.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Walks the kitchen-sink gateway RPC scenario for E2E smoke coverage.
12
import childProcess from "node:child_process";
23
import fs from "node:fs";
34
import os from "node:os";

scripts/e2e/lib/agent-turn-output.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Helpers for extracting agent turn output from E2E protocol events.
12
import fs from "node:fs";
23
import { readTextFileTail, tailText } from "./text-file-utils.mjs";
34

scripts/e2e/lib/bounded-response-text.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Bounded response body reader used by E2E HTTP fixture clients.
12
function bodyTooLargeError(label, byteLimit) {
23
return Object.assign(new Error(`${label} response body exceeded ${byteLimit} bytes`), {
34
code: "ETOOBIG",

scripts/e2e/lib/browser-cdp-snapshot/assert-snapshot.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Assertions for browser CDP snapshot E2E fixtures.
12
import fs from "node:fs";
23

34
const snapshotPath = process.argv[2] ?? "/tmp/browser-cdp-snapshot.txt";

scripts/e2e/lib/browser-cdp-snapshot/fixture-server.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Fixture HTTP server for browser CDP snapshot E2E scenarios.
12
import http from "node:http";
23
import { readPositiveIntEnv } from "../env-limits.mjs";
34

scripts/e2e/lib/bun-global-install/assertions.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Assertions for Bun global install E2E validation.
12
import { spawn } from "node:child_process";
23

34
const DEFAULT_TIMEOUT_KILL_GRACE_MS = 30_000;

scripts/e2e/lib/bundled-plugin-install-uninstall/probe.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Probe script for bundled plugin install/uninstall E2E scenarios.
12
import { spawnSync } from "node:child_process";
23
import fs from "node:fs";
34
import os from "node:os";

scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime smoke script for bundled plugin install/uninstall E2E validation.
12
import childProcess from "node:child_process";
23
import fs from "node:fs";
34
import os from "node:os";

scripts/e2e/lib/clawhub-fixture-server.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// CommonJS fixture server for ClawHub package/install E2E scenarios.
12
const crypto = require("node:crypto");
23
const fs = require("node:fs");
34
const http = require("node:http");

scripts/e2e/lib/codex-install-utils.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Shared Codex plugin install helpers for E2E scenarios.
12
import fs from "node:fs";
23
import path from "node:path";
34
import { readJson } from "./fixtures/common.mjs";

0 commit comments

Comments
 (0)