diff --git a/playwright/e2e/pinned-messages/pinned-messages.spec.ts b/playwright/e2e/pinned-messages/pinned-messages.spec.ts index ec1665e94a..f9d2abbb08 100644 --- a/playwright/e2e/pinned-messages/pinned-messages.spec.ts +++ b/playwright/e2e/pinned-messages/pinned-messages.spec.ts @@ -10,10 +10,6 @@ import { test } from "./index"; import { expect } from "../../element-web-test"; test.describe("Pinned messages", () => { - test.use({ - labsFlags: ["feature_pinning"], - }); - test("should show the empty state when there are no pinned messages", async ({ page, app, room1, util }) => { await util.goTo(room1); await util.openRoomInfo(); diff --git a/playwright/snapshots/crypto/crypto.spec.ts/RoomSummaryCard-with-verified-e2ee-linux.png b/playwright/snapshots/crypto/crypto.spec.ts/RoomSummaryCard-with-verified-e2ee-linux.png index f7e0d12ea1..d6b7951868 100644 Binary files a/playwright/snapshots/crypto/crypto.spec.ts/RoomSummaryCard-with-verified-e2ee-linux.png and b/playwright/snapshots/crypto/crypto.spec.ts/RoomSummaryCard-with-verified-e2ee-linux.png differ diff --git a/playwright/snapshots/polls/polls.spec.ts/Polls-Timeline-tile-no-votes-linux.png b/playwright/snapshots/polls/polls.spec.ts/Polls-Timeline-tile-no-votes-linux.png index a719425789..afe3331d2e 100644 Binary files a/playwright/snapshots/polls/polls.spec.ts/Polls-Timeline-tile-no-votes-linux.png and b/playwright/snapshots/polls/polls.spec.ts/Polls-Timeline-tile-no-votes-linux.png differ diff --git a/playwright/snapshots/right-panel/right-panel.spec.ts/with-name-and-address-linux.png b/playwright/snapshots/right-panel/right-panel.spec.ts/with-name-and-address-linux.png index c33ff1ce34..cd44d98fa1 100644 Binary files a/playwright/snapshots/right-panel/right-panel.spec.ts/with-name-and-address-linux.png and b/playwright/snapshots/right-panel/right-panel.spec.ts/with-name-and-address-linux.png differ diff --git a/playwright/snapshots/threads/threads.spec.ts/Reply-to-the-location-on-ThreadView-linux.png b/playwright/snapshots/threads/threads.spec.ts/Reply-to-the-location-on-ThreadView-linux.png index ab4ec4ec3b..a0f68616dc 100644 Binary files a/playwright/snapshots/threads/threads.spec.ts/Reply-to-the-location-on-ThreadView-linux.png and b/playwright/snapshots/threads/threads.spec.ts/Reply-to-the-location-on-ThreadView-linux.png differ diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index 5f9fe1e8d5..5e5c9a1535 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -280,7 +280,7 @@ export const SETTINGS: { [setting: string]: ISetting } = { displayName: _td("labs|pinning"), supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS_WITH_CONFIG_PRIORITISED, supportedLevelsAreOrdered: true, - default: false, + default: true, }, "feature_wysiwyg_composer": { isFeature: true, diff --git a/test/test-utils/test-utils.ts b/test/test-utils/test-utils.ts index 19a8808a7f..8e82c298e4 100644 --- a/test/test-utils/test-utils.ts +++ b/test/test-utils/test-utils.ts @@ -571,7 +571,10 @@ export function mkStubRoom( name: string | undefined, client: MatrixClient | undefined, ): Room { - const stubTimeline = { getEvents: (): MatrixEvent[] => [] } as unknown as EventTimeline; + const stubTimeline = { + getEvents: (): MatrixEvent[] => [], + getState: (): RoomState | undefined => undefined, + } as unknown as EventTimeline; return { canInvite: jest.fn(), client,