Disable After marking room as read, paging up to find old threads that were never read leaves the room read for new crypto (#11795)

This commit is contained in:
Florian Duros 2023-10-25 11:10:21 +02:00 committed by GitHub
parent afcaec658f
commit a306a08780
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,7 @@ import {
saveAndReload, saveAndReload,
sendMessageAsClient, sendMessageAsClient,
} from "./read-receipts-utils"; } from "./read-receipts-utils";
import { skipIfRustCrypto } from "../../support/util";
describe("Read receipts", () => { describe("Read receipts", () => {
const roomAlpha = "Room Alpha"; const roomAlpha = "Room Alpha";
@ -321,6 +322,10 @@ describe("Read receipts", () => {
assertUnreadThread("Root3"); assertUnreadThread("Root3");
}); });
it("After marking room as read, paging up to find old threads that were never read leaves the room read", () => { it("After marking room as read, paging up to find old threads that were never read leaves the room read", () => {
// Flaky with rust crypto
// See https://github.com/vector-im/element-web/issues/26341
skipIfRustCrypto();
// Given lots of messages in threads that are unread but I marked as read on a main timeline message // Given lots of messages in threads that are unread but I marked as read on a main timeline message
goTo(room1); goTo(room1);
receiveMessages(room2, [ receiveMessages(room2, [