Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

test(virtual-background): give the first real effect-enable a cold-start timeout

damenchoa14140b53c4a
diff --git a/tests/specs/misc/virtualBackground.spec.ts b/tests/specs/misc/virtualBackground.spec.ts
index 3e16d00667..b0388246b0 100644
--- a/tests/specs/misc/virtualBackground.spec.ts
+++ b/tests/specs/misc/virtualBackground.spec.ts
@@ -104,7 +104,12 @@ describe('Virtual backgrounds', () => {
expect(await vbDialog.isBlurChecked()).toBe(false);
await vbDialog.confirm();
- await waitForEffectEnabled(true);
+
+ // This is the first real (non-preview) effect enable in the suite, so — like
+ // "select full blur" below — it pays the cold-start cost of spinning up the
+ // segmentation worker on the actual conference track. The default 8s timeout is
+ // tuned for a warm worker and flakes on this one.
+ await waitForEffectEnabled(true, 15000);
const state = await getVBState();