diff --git a/playwright/e2e/crypto/complete-security.spec.ts b/playwright/e2e/crypto/complete-security.spec.ts index da6974459c..d4c303fae4 100644 --- a/playwright/e2e/crypto/complete-security.spec.ts +++ b/playwright/e2e/crypto/complete-security.spec.ts @@ -8,8 +8,10 @@ Please see LICENSE files in the repository root for full details. import { test, expect } from "../../element-web-test"; import { logIntoElement } from "./utils"; +import { isDendrite } from "../../plugins/homeserver/dendrite"; test.describe("Complete security", () => { + test.skip(isDendrite, "Dendrite lacks support for MSC3967 so requires additional auth here"); test.use({ displayName: "Jeff", }); diff --git a/playwright/e2e/crypto/crypto.spec.ts b/playwright/e2e/crypto/crypto.spec.ts index 2b6844574e..15453a408e 100644 --- a/playwright/e2e/crypto/crypto.spec.ts +++ b/playwright/e2e/crypto/crypto.spec.ts @@ -11,6 +11,7 @@ import { expect, test } from "../../element-web-test"; import { autoJoin, copyAndContinue, createSharedRoomWithUser, enableKeyBackup, verify } from "./utils"; import { Bot } from "../../pages/bot"; import { ElementAppPage } from "../../pages/ElementAppPage"; +import { isDendrite } from "../../plugins/homeserver/dendrite"; const checkDMRoom = async (page: Page) => { const body = page.locator(".mx_RoomView_body"); @@ -77,6 +78,7 @@ test.describe("Cryptography", function () { for (const isDeviceVerified of [true, false]) { test.describe(`setting up secure key backup should work isDeviceVerified=${isDeviceVerified}`, () => { + test.skip(isDendrite, "Dendrite lacks support for MSC3967 so requires additional auth here"); /** * Verify that the `m.cross_signing.${keyType}` key is available on the account data on the server * @param keyType diff --git a/playwright/e2e/login/soft_logout.spec.ts b/playwright/e2e/login/soft_logout.spec.ts index 6b4aa5a40d..89060c4da4 100644 --- a/playwright/e2e/login/soft_logout.spec.ts +++ b/playwright/e2e/login/soft_logout.spec.ts @@ -12,6 +12,7 @@ import { test, expect } from "../../element-web-test"; import { doTokenRegistration } from "./utils"; import { Credentials } from "../../plugins/homeserver"; import { legacyOAuthHomeserver } from "../../plugins/homeserver/synapse/legacyOAuthHomeserver.ts"; +import { isDendrite } from "../../plugins/homeserver/dendrite"; test.describe("Soft logout", () => { test.use({ @@ -53,6 +54,7 @@ test.describe("Soft logout", () => { }); test.describe("with SSO user", () => { + test.skip(isDendrite, "does not yet support SSO"); test.use(legacyOAuthHomeserver); test.use({ user: async ({ page, homeserver }, use) => { diff --git a/playwright/e2e/register/register.spec.ts b/playwright/e2e/register/register.spec.ts index 7756fe53c5..a01b9aa760 100644 --- a/playwright/e2e/register/register.spec.ts +++ b/playwright/e2e/register/register.spec.ts @@ -8,6 +8,7 @@ Please see LICENSE files in the repository root for full details. import { test, expect } from "../../element-web-test"; import { consentHomeserver } from "../../plugins/homeserver/synapse/consentHomeserver.ts"; +import { isDendrite } from "../../plugins/homeserver/dendrite"; test.describe("Registration", () => { test.use(consentHomeserver); @@ -31,6 +32,8 @@ test.describe("Registration", () => { "registers an account and lands on the home screen", { tag: "@screenshot" }, async ({ homeserver, page, checkA11y, crypto }) => { + test.skip(isDendrite, "Dendrite lacks support for MSC3967 so requires additional auth here"); + await page.getByRole("button", { name: "Edit", exact: true }).click(); await expect(page.getByRole("button", { name: "Continue", exact: true })).toBeVisible(); diff --git a/playwright/e2e/spotlight/spotlight.spec.ts b/playwright/e2e/spotlight/spotlight.spec.ts index d1bb3dec25..1b3b724ce0 100644 --- a/playwright/e2e/spotlight/spotlight.spec.ts +++ b/playwright/e2e/spotlight/spotlight.spec.ts @@ -12,6 +12,7 @@ import { Filter } from "../../pages/Spotlight"; import { Bot } from "../../pages/bot"; import type { Locator, Page } from "@playwright/test"; import type { ElementAppPage } from "../../pages/ElementAppPage"; +import { isDendrite } from "../../plugins/homeserver/dendrite"; function roomHeaderName(page: Page): Locator { return page.locator(".mx_RoomHeader_heading"); @@ -39,6 +40,8 @@ async function startDM(app: ElementAppPage, page: Page, name: string): Promise { + test.skip(isDendrite, "due to a Dendrite bug https://github.com/element-hq/dendrite/issues/3123"); + const bot1Name = "BotBob"; let bot1: Bot;