mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:20:43 +00:00
fix: default Mantis Slack desktop smoke to AWS
This commit is contained in:
@@ -273,6 +273,7 @@ export function registerMantisCli(qa: Command) {
|
||||
.option("--idle-timeout <duration>", "Crabbox idle timeout")
|
||||
.option("--ttl <duration>", "Crabbox maximum lease lifetime")
|
||||
.option("--keep-lease", "Keep a lease created by this run after a passing smoke")
|
||||
.option("--no-keep-lease", "Stop a lease created by this run after a passing smoke")
|
||||
.option("--gateway-setup", "Start a persistent OpenClaw Slack gateway inside the VNC VM")
|
||||
.option("--slack-url <url>", "Slack web URL to open in the visible browser")
|
||||
.option("--slack-channel-id <id>", "Slack channel id for gateway setup allowlist")
|
||||
|
||||
@@ -237,6 +237,7 @@ describe("mantis Slack desktop smoke runtime", () => {
|
||||
PATH: process.env.PATH,
|
||||
},
|
||||
gatewaySetup: true,
|
||||
keepLease: false,
|
||||
now: () => new Date("2026-05-04T14:00:00.000Z"),
|
||||
outputDir: ".artifacts/qa-e2e/mantis/slack-desktop-convex",
|
||||
repoRoot,
|
||||
@@ -264,6 +265,9 @@ describe("mantis Slack desktop smoke runtime", () => {
|
||||
"https://example.convex.site/qa-credentials/v1/acquire",
|
||||
"https://example.convex.site/qa-credentials/v1/release",
|
||||
]);
|
||||
expect(
|
||||
commands.some((entry) => entry.command === "/tmp/crabbox" && entry.args[0] === "stop"),
|
||||
).toBe(true);
|
||||
const summary = JSON.parse(await fs.readFile(result.summaryPath, "utf8")) as {
|
||||
slackUrl: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user