mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(tests): Return early if jaas tests not configured.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user