From 2de5ee2df5b0fc49e7b60c3de65d5ceaaf3f42fa Mon Sep 17 00:00:00 2001 From: "Timo K." Date: Thu, 15 Oct 2026 12:53:37 +0200 Subject: [PATCH] Update test to consider EWs support for cs-api --- playwright/widget/url-transport.test.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/playwright/widget/url-transport.test.ts b/playwright/widget/url-transport.test.ts index c4e39cfdd..e97a98fa2 100644 --- a/playwright/widget/url-transport.test.ts +++ b/playwright/widget/url-transport.test.ts @@ -66,13 +66,9 @@ widgetTest( await TestHelpers.expectVisibleVideoCount(frame, 2); } - // Element Web does not expose the MSC4195 endpoints to widgets yet, so - // neither side reached the CS API. The host published through the JWT - // service's legacy endpoint and subscribed to the guest through its - // default one; the guest published the same way and fell back to the - // default endpoint for the host's transport. - expect(hostFlows).toEqual(new Set(["service-legacy", "service-default"])); - expect(guestFlows).toEqual(new Set(["service-legacy", "service-default"])); + // Element Web used for Playwright does support MSC4195 for widgets. + expect(hostFlows).toEqual(new Set(["service-legacy", "cs-api"])); + expect(guestFlows).toEqual(new Set(["service-legacy", "cs-api"])); }, );