Skip to content

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

chore(sdk,ci): fix stress tests for sdk tests (#66065)

Nicolò Prettoe4728d22b8df
diff --git a/e2e/runner/run_cypress_ci.js b/e2e/runner/run_cypress_ci.js
index 06e50204a5a..9ea1b277f8f 100755
--- a/e2e/runner/run_cypress_ci.js
+++ b/e2e/runner/run_cypress_ci.js
@@ -51,10 +51,13 @@ if (command === "snapshot") {
// Metabase component or e2e tests
if (command === "component") {
- runTests({
- configFile: "e2e/support/cypress-embedding-sdk-component-test.config.js",
- testingType: "component",
- });
+ runTests(
+ {
+ configFile: "e2e/support/cypress-embedding-sdk-component-test.config.js",
+ testingType: "component",
+ },
+ cliArguments,
+ );
}
if (command === "e2e") {
diff --git a/e2e/support/config.js b/e2e/support/config.js
index 54fd8d8a304..c5f655ced34 100644
--- a/e2e/support/config.js
+++ b/e2e/support/config.js
@@ -204,6 +204,7 @@ const mainConfig = {
const embeddingSdkComponentTestConfig = {
...defaultConfig,
+ baseUrl: undefined, // baseUrl should not be set for component tests,
defaultCommandTimeout: 10000,
requestTimeout: 10000,
video: false,