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 // TODO add tests for rich text mode
describe("Plain 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 // Set up a private room so we have another user to mention
const otherUserName = "Bob"; const otherUserName = "Bob";
let bobClient: MatrixClient; 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) { 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); cy.bootstrapCrossSigning(aliceCredentials);
startDMWithBob.call(this); startDMWithBob.call(this);
// send first message // send first message

View file

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

View file

@ -244,7 +244,8 @@ describe("Read receipts", () => {
assertReadThread("Root2"); assertReadThread("Root2");
assertReadThread("Root3"); 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 // Given lots of messages in threads that are unread
goTo(room1); goTo(room1);
receiveMessages(room2, [ receiveMessages(room2, [