From e22fa2efc1b510516ec9663d9d99e3564564bdb6 Mon Sep 17 00:00:00 2001
From: Michael Weimann <michaelw@matrix.org>
Date: Fri, 13 Oct 2023 10:58:13 +0200
Subject: [PATCH] Disable spotlight unknown people test (#11740)

This is probably a Synapse issue:
https://github.com/matrix-org/synapse/issues/16472
Waiting for the profile to be available via API before the tests didn't help.
---
 cypress/e2e/spotlight/spotlight.spec.ts | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/cypress/e2e/spotlight/spotlight.spec.ts b/cypress/e2e/spotlight/spotlight.spec.ts
index 0e8ad33672..ee5532282f 100644
--- a/cypress/e2e/spotlight/spotlight.spec.ts
+++ b/cypress/e2e/spotlight/spotlight.spec.ts
@@ -346,7 +346,14 @@ describe("Spotlight", () => {
             });
     });
 
-    it("should find unknown people", () => {
+    /**
+     * Search sends the correct query to Synapse.
+     * Synapse doesn't return the user in the result list.
+     * Waiting for the profile to be available via APIs before the tests didn't help.
+     *
+     * https://github.com/matrix-org/synapse/issues/16472
+     */
+    it.skip("should find unknown people", () => {
         cy.openSpotlightDialog()
             .within(() => {
                 cy.wait(500); // Wait for dialog to settle