Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
t3chguy/playwright-homeservers
Michael Telatynski 2025-01-07 15:35:27 +00:00
parent 18a3e720aa
commit 757a22a829
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
6 changed files with 14 additions and 3 deletions

View File

@ -32,7 +32,7 @@ function mkPadding(n: number): IContent {
} }
test.describe("Editing", () => { test.describe("Editing", () => {
test.skip(isDendrite, "due to a Dendrite bug https://github.com/element-hq/dendrite/issues/3123"); test.skip(isDendrite, "due to a Dendrite bug https://github.com/element-hq/dendrite/issues/3488");
// Edit "Message" // Edit "Message"
const editLastMessage = async (page: Page, edit: string) => { const editLastMessage = async (page: Page, edit: string) => {

View File

@ -11,8 +11,11 @@ import type { Locator, Page } from "@playwright/test";
import type { ElementAppPage } from "../../pages/ElementAppPage"; import type { ElementAppPage } from "../../pages/ElementAppPage";
import { test, expect } from "../../element-web-test"; import { test, expect } from "../../element-web-test";
import { Credentials } from "../../plugins/homeserver"; import { Credentials } from "../../plugins/homeserver";
import { isDendrite } from "../../plugins/homeserver/dendrite";
test.describe("Lazy Loading", () => { test.describe("Lazy Loading", () => {
test.skip(isDendrite, "due to a Dendrite bug https://github.com/element-hq/dendrite/issues/3488");
const charlies: Bot[] = []; const charlies: Bot[] = [];
test.use({ test.use({

View File

@ -10,6 +10,7 @@ import type { Locator, Page } from "@playwright/test";
import { test, expect } from "../../element-web-test"; import { test, expect } from "../../element-web-test";
import type { Preset, ICreateRoomOpts } from "matrix-js-sdk/src/matrix"; import type { Preset, ICreateRoomOpts } from "matrix-js-sdk/src/matrix";
import { ElementAppPage } from "../../pages/ElementAppPage"; import { ElementAppPage } from "../../pages/ElementAppPage";
import { isDendrite } from "../../plugins/homeserver/dendrite";
async function openSpaceCreateMenu(page: Page): Promise<Locator> { async function openSpaceCreateMenu(page: Page): Promise<Locator> {
await page.getByRole("button", { name: "Create a space" }).click(); await page.getByRole("button", { name: "Create a space" }).click();
@ -50,6 +51,7 @@ function spaceChildInitialState(roomId: string): ICreateRoomOpts["initial_state"
} }
test.describe("Spaces", () => { test.describe("Spaces", () => {
test.skip(isDendrite, "due to a Dendrite bug https://github.com/element-hq/dendrite/issues/3488");
test.use({ test.use({
displayName: "Sue", displayName: "Sue",
botCreateOpts: { displayName: "BotBob" }, botCreateOpts: { displayName: "BotBob" },

View File

@ -8,8 +8,13 @@
import { expect, test } from "."; import { expect, test } from ".";
import { CommandOrControl } from "../../utils"; import { CommandOrControl } from "../../utils";
import { isDendrite } from "../../../plugins/homeserver/dendrite";
test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => { test.describe("Threads Activity Centre", { tag: "@no-firefox" }, () => {
test.skip(
isDendrite,
"due to Dendrite lacking full threads support https://github.com/element-hq/dendrite/issues/3283",
);
test.use({ test.use({
displayName: "Alice", displayName: "Alice",
botCreateOpts: { displayName: "Other User" }, botCreateOpts: { displayName: "Other User" },

View File

@ -40,7 +40,7 @@ async function startDM(app: ElementAppPage, page: Page, name: string): Promise<v
} }
test.describe("Spotlight", () => { test.describe("Spotlight", () => {
test.skip(isDendrite, "due to a Dendrite bug https://github.com/element-hq/dendrite/issues/3123"); test.skip(isDendrite, "due to a Dendrite bug https://github.com/element-hq/dendrite/issues/3488");
const bot1Name = "BotBob"; const bot1Name = "BotBob";
let bot1: Bot; let bot1: Bot;

View File

@ -111,8 +111,9 @@ export const test = base.extend<Services & Options>({
homeserver: async ( homeserver: async (
{ homeserverType, logger, network, _homeserver: homeserver, synapseConfigOptions, mas }, { homeserverType, logger, network, _homeserver: homeserver, synapseConfigOptions, mas },
use, use,
testInfo,
) => { ) => {
test.skip( testInfo.skip(
!(homeserver instanceof SynapseContainer) && Object.keys(synapseConfigOptions).length > 0, !(homeserver instanceof SynapseContainer) && Object.keys(synapseConfigOptions).length > 0,
`Test specifies Synapse config options so is unsupported with ${homeserverType}`, `Test specifies Synapse config options so is unsupported with ${homeserverType}`,
); );