Move config to top level

pull/28874/head
R Midhun Suresh 2025-01-08 21:17:48 +05:30
parent 37a6d09707
commit 2bf96cc7b0
No known key found for this signature in database
1 changed files with 10 additions and 10 deletions

View File

@ -11,18 +11,18 @@ import { Bot } from "../../pages/bot";
const ROOM_NAME = "Test room"; const ROOM_NAME = "Test room";
const NAME = "Alice"; const NAME = "Alice";
test.describe("Memberlist", () => { test.use({
test.use({ synapseConfigOptions: {
synapseConfigOptions: { presence: {
presence: { enabled: false,
enabled: false, include_offline_users_on_sync: false,
include_offline_users_on_sync: false,
},
}, },
displayName: NAME, },
disablePresence: true, displayName: NAME,
}); disablePresence: true,
});
test.describe("Memberlist", () => {
test.beforeEach(async ({ app, user, page, homeserver }, testInfo) => { test.beforeEach(async ({ app, user, page, homeserver }, testInfo) => {
testInfo.setTimeout(testInfo.timeout + 30_000); testInfo.setTimeout(testInfo.timeout + 30_000);
const id = await app.client.createRoom({ name: ROOM_NAME }); const id = await app.client.createRoom({ name: ROOM_NAME });