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): Adds an option to append room name suffixes.

damencho68df1b1281d4
diff --git a/tests/env.example b/tests/env.example
index cc0d472bbf..a268bca884 100644
--- a/tests/env.example
+++ b/tests/env.example
@@ -2,6 +2,9 @@
# If there is a tenant in the URL it must end with a slash (e.g. "https://alpha.jitsi.net/sometenant/")
#BASE_URL=
+# Room name suffix to use when creating new room names
+# ROOM_NAME_SUFFIX=
+
# To be able to match a domain to a specific address
# The format is "MAP example.com 1.2.3.4"
#RESOLVER_RULES=
diff --git a/tests/wdio.conf.ts b/tests/wdio.conf.ts
index fd2cafce83..e4ed972d61 100644
--- a/tests/wdio.conf.ts
+++ b/tests/wdio.conf.ts
@@ -208,6 +208,10 @@ export const config: WebdriverIO.MultiremoteConfig = {
}));
globalAny.ctx.roomName = `jitsimeettorture-${crypto.randomUUID()}`;
+ if (process.env.ROOM_NAME_SUFFIX) {
+ globalAny.ctx.roomName += `_${process.env.ROOM_NAME_SUFFIX.trim()}`;
+ }
+
globalAny.ctx.jwtPrivateKeyPath = process.env.JWT_PRIVATE_KEY_PATH;
globalAny.ctx.jwtKid = process.env.JWT_KID;
},