Skip to content

Commit 57e7d0c

Browse files
committed
test: keep followup script conversions split
1 parent 6965711 commit 57e7d0c

9 files changed

Lines changed: 7 additions & 117 deletions

File tree

extensions/qa-lab/src/scenario-catalog.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,9 @@ describe("qa scenario catalog", () => {
5555
.toSorted(),
5656
).toStrictEqual(
5757
[
58-
"channel-message-flows",
5958
"control-ui-chat-flow-playwright",
60-
"gateway-smoke",
6159
"package-openclaw-for-docker",
6260
"plugin-lifecycle-probe",
63-
"qa-otel-smoke",
6461
].toSorted(),
6562
);
6663
expect(

qa/scenarios/channels/channel-message-flows.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

qa/scenarios/runtime/gateway-smoke.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

qa/scenarios/runtime/qa-otel-smoke.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

scripts/test-projects.test-support.mjs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -664,12 +664,6 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([
664664
["scripts/test-projects.test-support.d.mts", ["test/scripts/test-projects.test.ts"]],
665665
["scripts/test-projects.test-support.mjs", ["test/scripts/test-projects.test.ts"]],
666666
["scripts/tsdown-build.mjs", ["test/scripts/tsdown-build.test.ts"]],
667-
[
668-
"scripts/dev/channel-message-flows.ts",
669-
["test/e2e/qa-lab/channels/channel-message-flows.e2e.test.ts"],
670-
],
671-
["scripts/dev/gateway-smoke.ts", ["test/e2e/qa-lab/runtime/gateway-smoke.e2e.test.ts"]],
672-
["scripts/qa-otel-smoke.ts", ["test/e2e/qa-lab/runtime/qa-otel-smoke.e2e.test.ts"]],
673667
["scripts/bundled-plugin-assets.mjs", ["test/scripts/bundled-plugin-assets.test.ts"]],
674668
["scripts/bundle-a2ui.mjs", ["test/scripts/bundled-plugin-assets.test.ts"]],
675669
["scripts/build-diffs-viewer-runtime.mjs", ["test/scripts/build-diffs-viewer-runtime.test.ts"]],

test/e2e/qa-lab/channels/channel-message-flows.e2e.test.ts renamed to test/scripts/channel-message-flows.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
// Channel Message Flows tests cover QA Lab channel preview evidence.
1+
// Channel Message Flows tests cover channel message flows script behavior.
22
import { describe, expect, it, vi } from "vitest";
33
import {
44
parseChannelMessageFlowArgs,
55
resolveTelegramFlowThreadSpec,
66
runTelegramThinkingFinalFlow,
77
runTelegramWorkingFinalFlow,
8-
} from "../../../../scripts/dev/channel-message-flows.ts";
9-
import type { OpenClawConfig } from "../../../../src/config/types.openclaw.js";
8+
} from "../../scripts/dev/channel-message-flows.ts";
9+
import type { OpenClawConfig } from "../../src/config/types.openclaw.js";
1010

1111
describe("channel message flows dev runner", () => {
1212
function createTestDraftStream(params?: {

test/e2e/qa-lab/runtime/gateway-smoke.e2e.test.ts renamed to test/scripts/gateway-smoke.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Gateway Smoke tests cover QA Lab gateway smoke evidence.
1+
// Gateway Smoke tests cover gateway smoke script behavior.
22
import { createServer, type Server } from "node:http";
33
import { afterEach, describe, expect, it } from "vitest";
44
import { WebSocket, WebSocketServer } from "ws";
5-
import { runGatewaySmoke } from "../../../../scripts/dev/gateway-smoke.js";
5+
import { runGatewaySmoke } from "../../scripts/dev/gateway-smoke.js";
66

77
let server: Server | undefined;
88
let wss: WebSocketServer | undefined;

test/e2e/qa-lab/runtime/qa-otel-smoke.e2e.test.ts renamed to test/scripts/qa-otel-smoke.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// QA OTEL Smoke tests cover QA Lab telemetry evidence.
1+
// Qa Otel Smoke tests cover qa otel smoke script behavior.
22
import { spawn, spawnSync } from "node:child_process";
33
import { EventEmitter } from "node:events";
44
import { existsSync, mkdirSync, mkdtempSync, rmSync, statSync } from "node:fs";
@@ -8,7 +8,7 @@ import path from "node:path";
88
import { setTimeout as delay } from "node:timers/promises";
99
import { gzipSync } from "node:zlib";
1010
import { beforeAll, describe, expect, it, vi } from "vitest";
11-
import { testing } from "../../../../scripts/qa-otel-smoke.ts";
11+
import { testing } from "../../scripts/qa-otel-smoke.ts";
1212

1313
describe("qa-otel-smoke receiver bounds", () => {
1414
let configuredBodyLimitLoad: ReturnType<typeof spawnSync>;

test/scripts/test-projects.test.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -641,24 +641,6 @@ describe("scripts/test-projects changed-target routing", () => {
641641
}
642642
});
643643

644-
it("keeps QA Lab script-evidence edits on QA e2e tests", () => {
645-
const expectedTargets = new Map([
646-
[
647-
"scripts/dev/channel-message-flows.ts",
648-
["test/e2e/qa-lab/channels/channel-message-flows.e2e.test.ts"],
649-
],
650-
["scripts/dev/gateway-smoke.ts", ["test/e2e/qa-lab/runtime/gateway-smoke.e2e.test.ts"]],
651-
["scripts/qa-otel-smoke.ts", ["test/e2e/qa-lab/runtime/qa-otel-smoke.e2e.test.ts"]],
652-
]);
653-
654-
for (const [source, targets] of expectedTargets) {
655-
expect(resolveChangedTestTargetPlan([source]), source).toEqual({
656-
mode: "targets",
657-
targets,
658-
});
659-
}
660-
});
661-
662644
it("keeps shared script library edits on owner tests", () => {
663645
const expectedTargets = new Map([
664646
[

0 commit comments

Comments
 (0)