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(transcriptions): make jigasi transcription mode configurable

Boris Grozevde045aa9e20d
diff --git a/tests/helpers/expectations.ts b/tests/helpers/expectations.ts
index 6516d63190..e7046a169f 100644
--- a/tests/helpers/expectations.ts
+++ b/tests/helpers/expectations.ts
@@ -30,7 +30,9 @@ const defaultExpectations = {
// Expect "async" transcription to be enabled.
asyncTranscription: true,
// Expect the JaaS transcription webhooks to fire in "async" mode.
- asyncTranscriptionWebhook: true
+ asyncTranscriptionWebhook: true,
+ // Expect (deprecated) jigasi-based transcription to be enabled.
+ jigasiTranscription: true
},
/**
* Whether the jaas account is configured with the account-level setting to allow unauthenticated users to join.
diff --git a/tests/specs/jaas/transcriptions.spec.ts b/tests/specs/jaas/transcriptions.spec.ts
index c5ad56582a..73aed49fdb 100644
--- a/tests/specs/jaas/transcriptions.spec.ts
+++ b/tests/specs/jaas/transcriptions.spec.ts
@@ -10,7 +10,10 @@ setTestProperties(__filename, {
usesBrowsers: [ 'p1', 'p2' ]
});
-const asyncTranscriptionValues = expectations.jaas.transcription.asyncTranscription ? [ false, true ] : [ false ];
+const asyncTranscriptionValues = [
+ ...expectations.jaas.transcription.jigasiTranscription ? [ false ] : [],
+ ...expectations.jaas.transcription.asyncTranscription ? [ true ] : []
+];
for (const asyncTranscriptions of asyncTranscriptionValues) {
describe(`Transcription (async=${asyncTranscriptions})`, () => {