mirror of https://github.com/vector-im/riot-web
Remove pinned message list screenshot which are flacky (#17)
parent
24fe2f239a
commit
51495e7d07
|
@ -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 |
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
Binary file not shown.
Before Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue