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 flaky template-tags transform test by waiting on the save request (#76157)
Nick Fitzpatrick9228b95e0b0c
diff --git a/e2e/test/scenarios/data-studio/transforms/template-tags.cy.spec.ts b/e2e/test/scenarios/data-studio/transforms/template-tags.cy.spec.tsindex ac1d2487762..9d921f9ba5c 100644--- a/e2e/test/scenarios/data-studio/transforms/template-tags.cy.spec.ts+++ b/e2e/test/scenarios/data-studio/transforms/template-tags.cy.spec.ts@@ -138,6 +138,7 @@ describe("scenarios > admin > transforms", () => {"try saving transform, an error is shown about missing parameters",);queryEditor().button("Save").should("be.enabled").click();+ cy.wait("@updateTransform");H.undoToast().should("contain.text", "missing required parameters").icon("close")@@ -157,6 +158,7 @@ describe("scenarios > admin > transforms", () => {setDefaultValue();queryEditor().button("Save").should("be.enabled").click();+ cy.wait("@updateTransform");H.undoToast().should("have.text", "Transform query updated").icon("close")@@ -206,6 +208,7 @@ describe("scenarios > admin > transforms", () => {cy.log("saving works");queryEditor().button("Save").should("be.enabled").click();+ cy.wait("@updateTransform");H.undoToast().should("have.text", "Transform query updated").icon("close")@@ -233,6 +236,7 @@ describe("scenarios > admin > transforms", () => {assertNoParameterSettingsAreVisible();queryEditor().button("Save").should("be.enabled").click();+ cy.wait("@updateTransform");H.undoToast().should("have.text", "Transform query updated").icon("close")