fix: remove editor reload in e2e test that was clearing video state
The reload was intended to ensure WebCodecs registered, but it clears the video path state set before the editor opened, causing the editor to load blank and the export to never complete.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user