Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix: remove editor reload in e2e test that was clearing video state

Siddharth8013cc97bbb2
diff --git a/tests/e2e/gif-export.spec.ts b/tests/e2e/gif-export.spec.ts
index a60fff244..8493f2e33 100644
--- a/tests/e2e/gif-export.spec.ts
+++ b/tests/e2e/gif-export.spec.ts
@@ -95,13 +95,9 @@ test("exports a GIF from a loaded video", async () => {
timeout: 15_000,
});
- // WebCodecs (VideoEncoder) may not be registered in the renderer on first
- // load of a second BrowserWindow. A single reload ensures the feature is
- // fully initialized before we start encoding.
- await editorWindow.reload();
await editorWindow.waitForLoadState("domcontentloaded");
await expect(editorWindow.getByText("Loading video...")).not.toBeVisible({
- timeout: 15_000,
+ timeout: 30_000,
});
// ── 5. Select GIF as the export format.