Add spaces vis tab test.

This commit is contained in:
Half-Shot 2025-07-08 12:01:28 +01:00
parent 2da1cd239f
commit f83bf60a14
2 changed files with 11 additions and 0 deletions

View File

@ -369,4 +369,15 @@ test.describe("Spaces", () => {
await app.viewSpaceByName("Root Space");
await expect(page.locator(".mx_SpaceRoomView")).toMatchScreenshot("space-room-view.png");
});
test.only("should render spaces visibility settings", { tag: "@screenshot" }, async ({ page, app, user, bot }) => {
await app.client.createSpace({
name: "My Space",
});
await app.viewSpaceByName("My space");
await page.getByLabel("Settings", { exact: true }).click();
await app.settings.switchTab("Visibility");
await expect(page.locator("#mx_tabpanel_SPACE_VISIBILITY_TAB")).toMatchScreenshot("space-visibility-settings.png");
});
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB