mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-27 19:29:19 +00:00
Update sfu-reconnect-bug.spec.ts
This commit is contained in:
@@ -6,7 +6,6 @@ Please see LICENSE in the repository root for full details.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { expect, test } from "@playwright/test";
|
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 ({
|
test("When creator left, avoid reconnect to the same SFU", async ({
|
||||||
browser,
|
browser,
|
||||||
@@ -90,7 +89,7 @@ test("When creator left, avoid reconnect to the same SFU", async ({
|
|||||||
|
|
||||||
await guestCPage.waitForTimeout(1000);
|
await guestCPage.waitForTimeout(1000);
|
||||||
if (wsConnectionCount === 2) {
|
if (wsConnectionCount === 2) {
|
||||||
logger.warn("wsConnectionCount is 2, expecting 1 after join");
|
console.warn("wsConnectionCount is 2, expecting 1 after join");
|
||||||
}
|
}
|
||||||
const wsConnectionCountBeforeLeave = wsConnectionCount;
|
const wsConnectionCountBeforeLeave = wsConnectionCount;
|
||||||
// ========
|
// ========
|
||||||
|
|||||||
Reference in New Issue
Block a user