Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Adjust sample-apps runner for the new token check (#65139)

Timofey Kachalov1bbe5252004f
diff --git a/e2e/runner/embedding-sdk/sample-apps/constants/sample-app-setup-configs.js b/e2e/runner/embedding-sdk/sample-apps/constants/sample-app-setup-configs.js
index 6a9ba075f37..d9d8b4cb072 100644
--- a/e2e/runner/embedding-sdk/sample-apps/constants/sample-app-setup-configs.js
+++ b/e2e/runner/embedding-sdk/sample-apps/constants/sample-app-setup-configs.js
@@ -9,13 +9,13 @@ const BASE_ENV = {
process.env.MB_ALL_FEATURES_TOKEN ||
process.env.ENTERPRISE_TOKEN ||
"",
+ MB_RUN_MODE: process.env.MB_RUN_MODE ?? "",
+ METASTORE_DEV_SERVER_URL: process.env.METASTORE_DEV_SERVER_URL ?? "",
MB_PORT: 4300,
CLIENT_PORT: 4400,
AUTH_PROVIDER_PORT: 4500,
};
-console.log(typeof process.env.MB_ALL_FEATURES_TOKEN);
-
if (!BASE_ENV.PREMIUM_EMBEDDING_TOKEN) {
throw new Error(
"Define one of the following environment variables with enterprise token: CYPRESS_MB_ALL_FEATURES_TOKEN, CYPRESS_ALL_FEATURES_TOKEN, MB_ALL_FEATURES_TOKEN, ENTERPRISE_TOKEN",