Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 51495e7

Browse files
authored
Remove pinned message list screenshot which are flacky (#17)
1 parent 24fe2f2 commit 51495e7

File tree

4 files changed

+0
-3
lines changed

4 files changed

+0
-3
lines changed

playwright/e2e/pinned-messages/pinned-messages.spec.ts

-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ test.describe("Pinned messages", () => {
4040
await util.openRoomInfo();
4141
await util.openPinnedMessagesList();
4242
await util.assertPinnedMessagesList(["Msg1", "Msg2", "Msg4"]);
43-
await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-pin-3.png`);
4443
});
4544

4645
test("should unpin one message", async ({ page, app, room1, util }) => {
@@ -52,7 +51,6 @@ test.describe("Pinned messages", () => {
5251
await util.openPinnedMessagesList();
5352
await util.unpinMessageFromMessageList("Msg2");
5453
await util.assertPinnedMessagesList(["Msg1", "Msg4"]);
55-
await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-unpin-2.png`);
5654
await util.backPinnedMessagesList();
5755
await util.assertPinnedCountInRoomInfo(2);
5856
});
@@ -126,7 +124,6 @@ test.describe("Pinned messages", () => {
126124

127125
await util.getViewAllButton().click();
128126
await util.assertPinnedMessagesList(["Msg1", "Msg2"]);
129-
await expect(util.getRightPanel()).toMatchScreenshot("pinned-message-banner-2.png");
130127

131128
await expect(util.getCloseListButton()).toBeVisible();
132129
});

0 commit comments

Comments
 (0)