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
Fix failing Embed Wizard CI (#74709)
Timofey Kachalov49bdda665065
diff --git a/e2e/test/scenarios/embedding/embedding-hub/embedding-hub.cy.spec.ts b/e2e/test/scenarios/embedding/embedding-hub/embedding-hub.cy.spec.tsindex 7e7a87c6ec1..6c6c6bd308a 100644--- a/e2e/test/scenarios/embedding/embedding-hub/embedding-hub.cy.spec.ts+++ b/e2e/test/scenarios/embedding/embedding-hub/embedding-hub.cy.spec.ts@@ -397,10 +397,6 @@ describe("scenarios - embedding hub", () => {});cy.log("wait for x-ray dashboard to generate and save it");- H.main()- .findByText("A look at", { exact: false, timeout: 30_000 })- .should("be.visible");- cy.button("Save this").click();H.undoToast().should("contain", "Your dashboard was saved");cy.visit("/admin/embedding/setup-guide/permissions");@@ -448,6 +444,7 @@ describe("scenarios - embedding hub", () => {.should("be.visible");cy.log("x-ray dashboard should be pre-selected, move it");+ cy.intercept("PUT", "/api/dashboard/*").as("moveDashboard");H.main().findByRole("button", {name: "Move to shared collection",@@ -456,6 +453,8 @@ describe("scenarios - embedding hub", () => {.should("be.enabled").click();+ cy.wait("@moveDashboard").its("response.statusCode").should("eq", 200);+cy.log("x-rayed dashboard should have been moved to the shared collection",);diff --git a/e2e/test/scenarios/embedding/sdk-iframe-embedding-setup/select-embed-options.cy.spec.ts b/e2e/test/scenarios/embedding/sdk-iframe-embedding-setup/select-embed-options.cy.spec.tsindex 4d1c4217c57..acbb97619d9 100644--- a/e2e/test/scenarios/embedding/sdk-iframe-embedding-setup/select-embed-options.cy.spec.ts+++ b/e2e/test/scenarios/embedding/sdk-iframe-embedding-setup/select-embed-options.cy.spec.ts@@ -137,7 +137,7 @@ describe(suiteTitle, () => {H.expectUnstructuredSnowplowEvent({event: "embed_wizard_options_completed",event_detail:- "settings=custom,experience=dashboard,authType=sso,drills=false,withDownloads=false,withSubscriptions=false,withTitle=true,isSaveEnabled=false,theme=default",+ "settings=custom,experience=dashboard,authType=sso,drills=false,withDownloads=false,withSubscriptions=false,withTitle=true,theme=default",});codeBlock().should("contain", 'drills="false"');@@ -174,7 +174,7 @@ describe(suiteTitle, () => {H.expectUnstructuredSnowplowEvent({event: "embed_wizard_options_completed",event_detail:- "settings=custom,experience=dashboard,authType=sso,drills=true,withDownloads=true,withSubscriptions=false,withTitle=true,isSaveEnabled=false,theme=default",+ "settings=custom,experience=dashboard,authType=sso,drills=true,withDownloads=true,withSubscriptions=false,withTitle=true,theme=default",});codeBlock().should("contain", 'with-subscriptions="false"');@@ -370,7 +370,7 @@ describe(suiteTitle, () => {H.expectUnstructuredSnowplowEvent({event: "embed_wizard_options_completed",event_detail:- "settings=custom,experience=dashboard,authType=sso,drills=true,withDownloads=false,withSubscriptions=true,withTitle=true,isSaveEnabled=false,theme=default",+ "settings=custom,experience=dashboard,authType=sso,drills=true,withDownloads=false,withSubscriptions=true,withTitle=true,theme=default",});codeBlock().should("contain", 'with-subscriptions="true"');