Enable skipped tests in reactions.spec.ts (#12019)

This commit is contained in:
Florian Duros 2023-12-08 17:07:25 +01:00 committed by GitHub
parent d15065d05c
commit 75500b606e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,8 +119,7 @@ test.describe("Read receipts", () => {
// Then the room remains read // Then the room remains read
await util.assertStillRead(room2); await util.assertStillRead(room2);
}); });
// XXX: fails because the room is still "bold" even though the notification counts all disappear test("Marking a room as read after a reaction in a thread makes it read", async ({
test.skip("Marking a room as read after a reaction in a thread makes it read", async ({
roomAlpha: room1, roomAlpha: room1,
roomBeta: room2, roomBeta: room2,
util, util,
@ -142,8 +141,7 @@ test.describe("Read receipts", () => {
// Then it becomes read // Then it becomes read
await util.assertRead(room2); await util.assertRead(room2);
}); });
// XXX: fails because the room is still "bold" even though the notification counts all disappear test("Reacting to a thread message after marking as read does not make the room unread", async ({
test.skip("Reacting to a thread message after marking as read does not make the room unread", async ({
roomAlpha: room1, roomAlpha: room1,
roomBeta: room2, roomBeta: room2,
util, util,
@ -167,7 +165,7 @@ test.describe("Read receipts", () => {
// Then the room remains read // Then the room remains read
await util.assertStillRead(room2); await util.assertStillRead(room2);
}); });
test.skip("A room with a reaction to a threaded message is still unread after restart", async ({ test("A room with a reaction to a threaded message is still unread after restart", async ({
roomAlpha: room1, roomAlpha: room1,
roomBeta: room2, roomBeta: room2,
util, util,
@ -329,8 +327,7 @@ test.describe("Read receipts", () => {
// Then the room is still read // Then the room is still read
await util.assertRead(room2); await util.assertRead(room2);
}); });
// XXX: fails because the room is still "bold" even though the notification counts all disappear test("Reacting to a thread root after marking as read makes the room unread but not the thread", async ({
test.skip("Reacting to a thread root after marking as read makes the room unread but not the thread", async ({
page, page,
roomAlpha: room1, roomAlpha: room1,
roomBeta: room2, roomBeta: room2,