Skip to content

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

Fix flaky embedding sdk backward compatibility test (#69540)

Sébastien6b5577a35170
diff --git a/e2e/test-component/scenarios/embedding-sdk/interactive-question.cy.spec.tsx b/e2e/test-component/scenarios/embedding-sdk/interactive-question.cy.spec.tsx
index 9fc752b1fcf..3cb7b65d4ed 100644
--- a/e2e/test-component/scenarios/embedding-sdk/interactive-question.cy.spec.tsx
+++ b/e2e/test-component/scenarios/embedding-sdk/interactive-question.cy.spec.tsx
@@ -95,6 +95,9 @@ describe("scenarios > embedding-sdk > interactive-question", () => {
cy.wait("@schema");
+ // Wait for the Sample database to auto-select
+ cy.findByText("Sample Database").should("be.visible");
+
H.NativeEditor.type("SELECT * from ORDERS LIMIT 10");
H.NativeEditor.clickOnRun();