Add screenshot for add extensions button spacing

This commit is contained in:
David Langley
2025-03-05 19:22:01 +00:00
parent 036353ace1
commit 04b9902a65
2 changed files with 3 additions and 1 deletions

View File

@@ -67,10 +67,12 @@ test.describe("RightPanel", () => {
}, },
); );
test("should handle clicking add widgets", async ({ page, app }) => { test("should handle clicking add widgets", { tag: "@screenshot" }, async ({ page, app }) => {
await viewRoomSummaryByName(page, app, ROOM_NAME); await viewRoomSummaryByName(page, app, ROOM_NAME);
await page.getByRole("menuitem", { name: "Extensions" }).click(); await page.getByRole("menuitem", { name: "Extensions" }).click();
await expect(page.locator(".mx_RightPanel")).toMatchScreenshot("with-extensions.png");
await page.getByRole("button", { name: "Add extensions" }).click(); await page.getByRole("button", { name: "Add extensions" }).click();
await expect(page.locator(".mx_IntegrationManager")).toBeVisible(); await expect(page.locator(".mx_IntegrationManager")).toBeVisible();
}); });

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB