Skip to content

Flaky Jest Test: EncryptionEvent › for an encrypted room › with same previous algorithm › should show the expected texts #31345

@kaylendog

Description

@kaylendog
 FAIL  test/unit-tests/components/views/messages/EncryptionEvent-test.tsx
  ● EncryptionEvent › for an encrypted room › with same previous algorithm › should show the expected texts

    Timed out in waitFor.

      82 |             it("should show the expected texts", async () => {
      83 |                 renderEncryptionEvent(client, event);
    > 84 |                 await waitFor(() => checkTexts("Encryption enabled", "Some encryption parameters have been changed."));
         |                              ^
      85 |             });
      86 |         });
      87 |

      at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)
      at Object.<anonymous> (test/unit-tests/components/views/messages/EncryptionEvent-test.tsx:84:30)

Link to failing CI

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-TestingTesting, code coverage, etc.Z-Flaky-Jest-TestA Jest test is raising false alarms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions