Skip to content

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

fix(tests): Skip url normalisation test when using tokens.

damencho2f9436afb1c5
diff --git a/tests/specs/2way/urlNormalisation.spec.ts b/tests/specs/2way/urlNormalisation.spec.ts
index b868f8c27e..c2d0af7447 100644
--- a/tests/specs/2way/urlNormalisation.spec.ts
+++ b/tests/specs/2way/urlNormalisation.spec.ts
@@ -5,6 +5,13 @@ import { ensureTwoParticipants } from '../../helpers/participants';
describe('URL Normalisation', () => {
it('joining the meeting', async () => {
+ // if we are running with token this becomes ugly to match the URL
+ if (process.env.JWT_ACCESS_TOKEN) {
+ ctx.skipSuiteTests = true;
+
+ return;
+ }
+
// a hack to extract the baseUrl that the test will use
const baseUrl = multiremotebrowser.getInstance('p1').options.baseUrl;