mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-30 19:39:22 +00:00
fix test as with the recent version of livekit-client the URL format changed
This commit is contained in:
@@ -102,8 +102,10 @@ test("Should show error screen if call creation is restricted", async ({
|
|||||||
|
|
||||||
// Then if the socket connection fails, livekit will try to validate the token!
|
// Then if the socket connection fails, livekit will try to validate the token!
|
||||||
// Livekit will not auto_create anymore and will return a 404 error.
|
// Livekit will not auto_create anymore and will return a 404 error.
|
||||||
|
// Note the regex is required as livekit-client is nowasays trying two
|
||||||
|
// differnt APIs
|
||||||
await page.route(
|
await page.route(
|
||||||
"**/badurltotricktest/livekit/sfu/rtc/validate?**",
|
/.*\/badurltotricktest\/livekit\/sfu\/rtc(\/v1)?\/validate?.*/,
|
||||||
async (route) =>
|
async (route) =>
|
||||||
await route.fulfill({
|
await route.fulfill({
|
||||||
status: 404,
|
status: 404,
|
||||||
|
|||||||
Reference in New Issue
Block a user