Update test to consider EWs support for cs-api

This commit is contained in:
Timo K.
2026-10-15 12:53:37 +02:00
parent a427206792
commit 2de5ee2df5
+3 -7
View File
@@ -66,13 +66,9 @@ widgetTest(
await TestHelpers.expectVisibleVideoCount(frame, 2); await TestHelpers.expectVisibleVideoCount(frame, 2);
} }
// Element Web does not expose the MSC4195 endpoints to widgets yet, so // Element Web used for Playwright does support MSC4195 for widgets.
// neither side reached the CS API. The host published through the JWT expect(hostFlows).toEqual(new Set(["service-legacy", "cs-api"]));
// service's legacy endpoint and subscribed to the guest through its expect(guestFlows).toEqual(new Set(["service-legacy", "cs-api"]));
// 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"]));
}, },
); );