test(qa-lab): accept native Windows paths

This commit is contained in:
Vincent Koc
2026-05-04 09:07:28 -07:00
parent 9008031e96
commit 30e259b9c5
8 changed files with 80 additions and 50 deletions

View File

@@ -548,6 +548,7 @@ describe("qa cli runtime", () => {
});
it("runs a host-only parity preflight against the sentinel scenario", async () => {
const repoRoot = path.resolve("/tmp/openclaw-repo");
await runQaSuiteCommand({
repoRoot: "/tmp/openclaw-repo",
providerMode: "mock-openai",
@@ -557,9 +558,9 @@ describe("qa cli runtime", () => {
});
expect(runQaSuiteFromRuntime).toHaveBeenCalledWith({
repoRoot: path.resolve("/tmp/openclaw-repo"),
outputDir: expect.stringMatching(
/^\/tmp\/openclaw-repo\/\.artifacts\/qa-e2e\/preflight\/suite-/,
repoRoot,
outputDir: expect.stringContaining(
path.join(repoRoot, ".artifacts", "qa-e2e", "preflight", "suite-"),
),
transportId: "qa-channel",
providerMode: "mock-openai",