You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/02/13 02:19:01 UTC

(superset) 01/01: fix: try to fix cypress with magic

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch trynafix_cypress
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 8321a95914c83e178b291e0706f47b4f71bdcef9
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Mon Feb 12 18:17:58 2024 -0800

    fix: try to fix cypress with magic
    
    I'm trying this because it might have worked for someone on the
    internets
    https://github.com/cypress-io/cypress/issues/7204
---
 superset-frontend/cypress-base/cypress.config.ts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/superset-frontend/cypress-base/cypress.config.ts b/superset-frontend/cypress-base/cypress.config.ts
index 7340830bf0..96b74938ee 100644
--- a/superset-frontend/cypress-base/cypress.config.ts
+++ b/superset-frontend/cypress-base/cypress.config.ts
@@ -51,6 +51,10 @@ export default defineConfig({
 
             return arg;
           });
+
+          launchOptions.args.push(
+            ...['--disable-dev-shm-usage', '--disable-gpu'],
+          );
         }
         return launchOptions;
       });