Skip to content

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

feat(tests): Return early if jaas tests not configured.

damenchodf2262ae536a
diff --git a/tests/wdio.conf.ts b/tests/wdio.conf.ts
index 5c5adec9e8..e9b47959c4 100644
--- a/tests/wdio.conf.ts
+++ b/tests/wdio.conf.ts
@@ -211,6 +211,13 @@ export const config: WebdriverIO.MultiremoteConfig = {
} as IContext;
globalAny.ctx.testProperties = testProperties;
+ if (testProperties.useJaas && !testsConfig.jaas.enabled) {
+ console.warn(`JaaS is not configured, skipping ${testName}.`);
+ globalAny.ctx.skipSuiteTests = true;
+
+ return;
+ }
+
await Promise.all(multiremotebrowser.instances.map(async (instance: string) => {
const bInstance = multiremotebrowser.getInstance(instance);
@@ -252,11 +259,6 @@ export const config: WebdriverIO.MultiremoteConfig = {
console.warn(`WebhookProxy is not available, skipping ${testName}`);
globalAny.ctx.skipSuiteTests = true;
}
-
- if (testProperties.useJaas && !testsConfig.jaas.enabled) {
- console.warn(`JaaS is not configured, skipping ${testName}.`);
- globalAny.ctx.skipSuiteTests = true;
- }
},
after() {