Disable a bunch of flaky cypress tests (#11719)

This commit is contained in:
Richard van der Hoff 2023-10-05 15:30:49 +01:00 committed by GitHub
parent 9efa458b68
commit 7ff2b02364
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

View file

@ -183,7 +183,8 @@ describe("Composer", () => {
// TODO add tests for rich text mode
describe("Plain text mode", () => {
it("autocomplete behaviour tests", () => {
// https://github.com/vector-im/element-web/issues/26037
it.skip("autocomplete behaviour tests", () => {
// Set up a private room so we have another user to mention
const otherUserName = "Bob";
let bobClient: MatrixClient;

View file

@ -256,6 +256,7 @@ describe("Cryptography", function () {
}
it("creating a DM should work, being e2e-encrypted / user verification", function (this: CryptoTestContext) {
skipIfRustCrypto(); // https://github.com/vector-im/element-web/issues/25618
cy.bootstrapCrossSigning(aliceCredentials);
startDMWithBob.call(this);
// send first message

View file

@ -180,8 +180,8 @@ describe("Read receipts", () => {
// Then the room remains read
assertStillRead(room2);
});
// XXX: fails because we see a dot instead of an unread number - probably the server and client disagree
it("A room with an edit is still read after restart", () => {
// https://github.com/vector-im/element-web/issues/26273
it.skip("A room with an edit is still read after restart", () => {
// Given a message is marked as read
goTo(room2);
receiveMessages(room2, ["Msg1"]);

View file

@ -244,7 +244,8 @@ describe("Read receipts", () => {
assertReadThread("Root2");
assertReadThread("Root3");
});
it("Paging up to find old threads that were never read keeps the room unread", () => {
// https://github.com/vector-im/element-web/issues/26294
it.skip("Paging up to find old threads that were never read keeps the room unread", () => {
// Given lots of messages in threads that are unread
goTo(room1);
receiveMessages(room2, [