mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Fix e2e tests
This commit is contained in:
parent
5d2ec68116
commit
3090f4fc54
@ -12,6 +12,7 @@ import { test, expect } from "../../../element-web-test";
|
||||
test.describe("Room list panel", () => {
|
||||
test.use({
|
||||
labsFlags: ["feature_new_room_list"],
|
||||
displayName: "Eve",
|
||||
});
|
||||
|
||||
/**
|
||||
@ -44,7 +45,6 @@ test.describe("Room list panel", () => {
|
||||
|
||||
test("should respond to small screen sizes", { tag: "@screenshot" }, async ({ page }) => {
|
||||
await page.setViewportSize({ width: 575, height: 600 });
|
||||
const roomListPanel = getRoomListView(page);
|
||||
await expect(roomListPanel).toMatchScreenshot("room-list-panel-smallscreen.png");
|
||||
await expect(page).toMatchScreenshot("room-list-panel-smallscreen.png");
|
||||
});
|
||||
});
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 25 KiB |
Loading…
x
Reference in New Issue
Block a user