commit 8fd8b79b59f61d45ec94018b6b06dc2c23b32f85
parent f57df351ce3e5fb3f9707ef5fb3d9c1823691fe7
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sat, 17 Oct 2026 12:19:44 -0400
editor: e2e — frame-scan's 1:30 link lookup is exact (the Correct-the-reading link shares the name), and reconstruct-download-url's Odysee fixture channel opts out of the audio check (on by default for Odysee since release 31)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/editor/e2e/frame-scan.spec.ts b/editor/e2e/frame-scan.spec.ts
@@ -67,7 +67,7 @@ test("Scan frames on a saved stream: the job, then the panel's phases, events an
const events = panel.getByLabel("frame scan events");
await expect(events).toContainText("double-up");
await expect(events).toContainText("bust");
- await expect(events.getByRole("link", { name: "1:30" })).toHaveAttribute("href", "https://rumble.com/v7synth-synthetic-poker.html?start=90");
+ await expect(events.getByRole("link", { name: "1:30", exact: true })).toHaveAttribute("href", "https://rumble.com/v7synth-synthetic-poker.html?start=90");
await expect(panel.getByLabel("tournament Synthetic Cup")).toContainText("Stack (chips)");
await expect(panel.getByLabel("frame scan flags")).toContainText("said 4, the frame at 2:00 reads 9");
await expect(panel.getByRole("button", { name: "Scan again", exact: true })).toBeVisible();
diff --git a/editor/e2e/reconstruct-download-url.spec.ts b/editor/e2e/reconstruct-download-url.spec.ts
@@ -4,7 +4,7 @@
// here from the channel config's odysee `url`. Without this, the pipeline used
// to fail with "Could not determine the video URL".
-import { readFile, rm } from "node:fs/promises";
+import { readFile, rm, writeFile } from "node:fs/promises";
import { test, expect } from "@playwright/test";
import { pathExists, resetData, resolvePath, testPaths } from "./helpers";
@@ -21,6 +21,12 @@ test("download pipeline reconstructs the URL when metadata + playlist are missin
// channel config's `url` (https://odysee.com/@example) is the only platform
// signal, so reconstruction must produce an odysee URL for canonical id vidA.
await rm(resolvePath(`${CHANNEL_ROOT}/data/vidA/audio.m4a`), { force: true });
+ // An Odysee channel gets the audio check by default since release 31 (lib/audioCheckPolicy.ts);
+ // this spec is about URL reconstruction, and its fake yt-dlp writes the audio directly, so the
+ // channel opts out explicitly.
+ const configFile = resolvePath(`${CHANNEL_ROOT}/config.json`);
+ const config = JSON.parse(await readFile(configFile, "utf8"));
+ await writeFile(configFile, JSON.stringify({ ...config, audioCheck: { enabled: false } }, null, 2));
await page.goto(`/channels/${CHANNEL}/videos/vidA`);
await page.getByRole("button", { name: /^Run download pipeline$/ }).click();