Skip to content

Commit

Permalink
Remove pinned message list screenshot which are flacky (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros authored Sep 10, 2024
1 parent 24fe2f2 commit 51495e7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions playwright/e2e/pinned-messages/pinned-messages.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ test.describe("Pinned messages", () => {
await util.openRoomInfo();
await util.openPinnedMessagesList();
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 }) => {
Expand All @@ -52,7 +51,6 @@ test.describe("Pinned messages", () => {
await util.openPinnedMessagesList();
await util.unpinMessageFromMessageList("Msg2");
await util.assertPinnedMessagesList(["Msg1", "Msg4"]);
await expect(util.getRightPanel()).toMatchScreenshot(`pinned-messages-list-unpin-2.png`);
await util.backPinnedMessagesList();
await util.assertPinnedCountInRoomInfo(2);
});
Expand Down Expand Up @@ -126,7 +124,6 @@ test.describe("Pinned messages", () => {

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

await expect(util.getCloseListButton()).toBeVisible();
});
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 51495e7

Please sign in to comment.