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(harness) log the browsers in use for every spec

damencho64687cf57fbd
diff --git a/tests/wdio.conf.ts b/tests/wdio.conf.ts
index 1f8371f2e4..9083a4760b 100644
--- a/tests/wdio.conf.ts
+++ b/tests/wdio.conf.ts
@@ -388,6 +388,14 @@ export const config: WebdriverIO.MultiremoteConfig = {
console.log(`Running test: ${testName} via worker: ${cid} browser instances:${multiRemoteBrowser.instances.length}`);
+ // Log the browsers in use, the console logs of the participants are attached to the report only when a test
+ // fails, so this is the only place where a passing run records what it was executed against.
+ console.log(`Using browsers: ${multiRemoteBrowser.instances.map((instance: string) => {
+ const { browserName, browserVersion } = multiRemoteBrowser.getInstance(instance).capabilities;
+
+ return `${instance}:${browserName}/${browserVersion}`;
+ }).join(' ')}`);
+
const globalAny: any = global;
globalAny.ctx = {