Remove pinned message list screenshot which are flacky (#17)

This commit is contained in:
Florian Duros 2024-09-10 10:51:57 +02:00 committed by GitHub
parent 24fe2f239a
commit 51495e7d07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 3 deletions

View file

@ -40,7 +40,6 @@ test.describe("Pinned messages", () => {
await util.openRoomInfo(); await util.openRoomInfo();
await util.openPinnedMessagesList(); await util.openPinnedMessagesList();
await util.assertPinnedMessagesList(["Msg1", "Msg2", "Msg4"]); await util.assertPinnedMessagesList(["Msg1", "Msg2", "Msg4"]);
await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-pin-3.png`);
}); });
test("should unpin one message", async ({ page, app, room1, util }) => { test("should unpin one message", async ({ page, app, room1, util }) => {
@ -52,7 +51,6 @@ test.describe("Pinned messages", () => {
await util.openPinnedMessagesList(); await util.openPinnedMessagesList();
await util.unpinMessageFromMessageList("Msg2"); await util.unpinMessageFromMessageList("Msg2");
await util.assertPinnedMessagesList(["Msg1", "Msg4"]); await util.assertPinnedMessagesList(["Msg1", "Msg4"]);
await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-unpin-2.png`);
await util.backPinnedMessagesList(); await util.backPinnedMessagesList();
await util.assertPinnedCountInRoomInfo(2); await util.assertPinnedCountInRoomInfo(2);
}); });
@ -126,7 +124,6 @@ test.describe("Pinned messages", () => {
await util.getViewAllButton().click(); await util.getViewAllButton().click();
await util.assertPinnedMessagesList(["Msg1", "Msg2"]); await util.assertPinnedMessagesList(["Msg1", "Msg2"]);
await expect(util.getRightPanel()).toMatchScreenshot("pinned-message-banner-2.png");
await expect(util.getCloseListButton()).toBeVisible(); await expect(util.getCloseListButton()).toBeVisible();
}); });

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB