Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Watermark Remover browser check: the app address is read when no guest address is given

Adarsh8bcaf8cd5b6c
diff --git a/tests/e2e/watermark-remover.mjs b/tests/e2e/watermark-remover.mjs
index 413a2146..2bfb0e17 100644
--- a/tests/e2e/watermark-remover.mjs
+++ b/tests/e2e/watermark-remover.mjs
@@ -17,7 +17,7 @@ import { DESKTOP, PHONE, launch, openRoute } from "./_browser.mjs";
const argv = process.argv.slice(2);
const guestAt = argv.indexOf("--guest");
const guestApp = guestAt >= 0 ? argv[guestAt + 1] : null;
-const args = argv.filter((a, i) => !a.startsWith("--") && i !== guestAt + 1);
+const args = argv.filter((a, i) => !a.startsWith("--") && (guestAt < 0 || i !== guestAt + 1));
const app = args[0] ?? "http://localhost:3000";
const out = args[1] ?? fs.mkdtempSync("/tmp/fuobe-watermark-");
fs.mkdirSync(out, { recursive: true });