From 76ccdbc5fcedd43ab5bb48101c52896e1cf3f7bb Mon Sep 17 00:00:00 2001
From: github-automation-metabase
 <166700802+github-automation-metabase@users.noreply.github.com>
Date: Fri, 25 Oct 2024 17:09:21 -0400
Subject: [PATCH] temporary disable csp in cypress (#49186) (#49192)

Co-authored-by: Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
---
 e2e/support/config.js                                          | 1 -
 .../scenarios/embedding/embedding-reproductions.cy.spec.js     | 3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/e2e/support/config.js b/e2e/support/config.js
index b0aa9cf230e..9581cb1d9d5 100644
--- a/e2e/support/config.js
+++ b/e2e/support/config.js
@@ -181,7 +181,6 @@ const mainConfig = {
         },
       }
     : {}),
-  experimentalCspAllowList: ["frame-src"],
   projectId: "ywjy9z",
   numTestsKeptInMemory: process.env["CI"] ? 1 : 50,
   reporter: "cypress-multi-reporters",
diff --git a/e2e/test/scenarios/embedding/embedding-reproductions.cy.spec.js b/e2e/test/scenarios/embedding/embedding-reproductions.cy.spec.js
index 5cc47644d24..e3e96598bdc 100644
--- a/e2e/test/scenarios/embedding/embedding-reproductions.cy.spec.js
+++ b/e2e/test/scenarios/embedding/embedding-reproductions.cy.spec.js
@@ -985,7 +985,8 @@ describe("issue 40660", () => {
   });
 });
 
-describe("issue 49142", () => {
+// Skipped since it does not make sense when CSP is disabled
+describe.skip("issue 49142", () => {
   const questionDetails = {
     name: "Products",
     query: { "source-table": PRODUCTS_ID, limit: 2 },
-- 
GitLab