Update sfu-reconnect-bug.spec.ts

This commit is contained in:
Timo K
2026-06-29 13:11:26 +02:00
parent 5b4e8865e5
commit 8028a6aa24

View File

@@ -6,7 +6,6 @@ Please see LICENSE in the repository root for full details.
*/
import { expect, test } from "@playwright/test";
import { logger } from "matrix-js-sdk/lib/logger";
test("When creator left, avoid reconnect to the same SFU", async ({
browser,
@@ -90,7 +89,7 @@ test("When creator left, avoid reconnect to the same SFU", async ({
await guestCPage.waitForTimeout(1000);
if (wsConnectionCount === 2) {
logger.warn("wsConnectionCount is 2, expecting 1 after join");
console.warn("wsConnectionCount is 2, expecting 1 after join");
}
const wsConnectionCountBeforeLeave = wsConnectionCount;
// ========