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: add --enable-unsafe-swiftshader to e2e test for CI WebGL support

Siddharthdc0856282f75
diff --git a/tests/e2e/gif-export.spec.ts b/tests/e2e/gif-export.spec.ts
index 0ff0b776a..132a6ddbb 100644
--- a/tests/e2e/gif-export.spec.ts
+++ b/tests/e2e/gif-export.spec.ts
@@ -18,6 +18,8 @@ test("exports a GIF from a loaded video", async () => {
MAIN_JS,
// Required in CI sandbox environments (GitHub Actions, Docker, etc.)
"--no-sandbox",
+ // Force software WebGL in headless CI to avoid GPU framebuffer errors.
+ "--enable-unsafe-swiftshader",
],
env: {
...process.env,