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 flake in native test (#68972)
Romeo Van Snicke909583de080
diff --git a/e2e/support/helpers/e2e-browser-helpers.ts b/e2e/support/helpers/e2e-browser-helpers.tsindex e1710dd3ee2..24753f41ab4 100644--- a/e2e/support/helpers/e2e-browser-helpers.ts+++ b/e2e/support/helpers/e2e-browser-helpers.ts@@ -27,3 +27,6 @@ export function readClipboard() {return win.navigator.clipboard.readText();});}++const isMac = Cypress.platform === "darwin";+export const metaKey = isMac ? "Meta" : "Control";diff --git a/e2e/test/scenarios/native/native-reproductions.cy.spec.ts b/e2e/test/scenarios/native/native-reproductions.cy.spec.tsindex 1bb450cc5a7..59575efb010 100644--- a/e2e/test/scenarios/native/native-reproductions.cy.spec.ts+++ b/e2e/test/scenarios/native/native-reproductions.cy.spec.ts@@ -40,7 +40,7 @@ describe("issue 11727", { tags: "@external" }, () => {cy.findByTestId("query-builder-main").findByText("Doing science...").should("be.visible");- cy.get("body").type("{cmd}{enter}");+ cy.realPress([H.metaKey, "Enter"]);cy.findByTestId("query-builder-main").findByText("Here's where your results will appear").should("be.visible");