The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
remove sdk import error on core app e2e tests (#70188)
Nicolò Prettob429839f0a46
diff --git a/e2e/support/config.js b/e2e/support/config.jsindex ee54ec91203..4af8f54a65f 100644--- a/e2e/support/config.js+++ b/e2e/support/config.js@@ -14,7 +14,6 @@ import {removeDirectory,verifyDownloadTasks,} from "./commands/downloads/downloadUtils";-import webpackConfig from "./component-webpack.config";import * as dbTasks from "./db_tasks";import { signJwt } from "./helpers/e2e-jwt-tasks";@@ -206,29 +205,7 @@ const mainConfig = {},};-const embeddingSdkComponentTestConfig = {- ...defaultConfig,- baseUrl: undefined, // baseUrl should not be set for component tests,- defaultCommandTimeout: 10000,- requestTimeout: 10000,- video: false,- specPattern: "e2e/test-component/scenarios/embedding-sdk/**/*.cy.spec.tsx",- indexHtmlFile: "e2e/support/component-index.html",- supportFile: "e2e/support/component-cypress.js",-- reporter: mainConfig.reporter,- reporterOptions: mainConfig.reporterOptions,- retries: mainConfig.retries,-- devServer: {- framework: "react",- bundler: "webpack",- webpackConfig: webpackConfig,- },-};-module.exports = {defaultConfig,mainConfig,- embeddingSdkComponentTestConfig,};diff --git a/e2e/support/cypress-embedding-sdk-component-test.config.js b/e2e/support/cypress-embedding-sdk-component-test.config.jsindex 8ae50f7471e..ce3441e79ed 100644--- a/e2e/support/cypress-embedding-sdk-component-test.config.js+++ b/e2e/support/cypress-embedding-sdk-component-test.config.js@@ -1,4 +1,26 @@-const { embeddingSdkComponentTestConfig } = require("./config");+import webpackConfig from "./component-webpack.config";+import { defaultConfig, mainConfig } from "./config";++const embeddingSdkComponentTestConfig = {+ ...defaultConfig,+ baseUrl: undefined, // baseUrl should not be set for component tests,+ defaultCommandTimeout: 10000,+ requestTimeout: 10000,+ video: false,+ specPattern: "e2e/test-component/scenarios/embedding-sdk/**/*.cy.spec.tsx",+ indexHtmlFile: "e2e/support/component-index.html",+ supportFile: "e2e/support/component-cypress.js",++ reporter: mainConfig.reporter,+ reporterOptions: mainConfig.reporterOptions,+ retries: mainConfig.retries,++ devServer: {+ framework: "react",+ bundler: "webpack",+ webpackConfig: webpackConfig,+ },+};module.exports = {component: {