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 two Cypress timing races (GHY-4726) (#83346)
Eric Normand322be173229b
diff --git a/e2e/test/scenarios/custom-column/cc-typing-suggestion.cy.spec.js b/e2e/test/scenarios/custom-column/cc-typing-suggestion.cy.spec.jsindex 52171983692..e92acbe0be0 100644--- a/e2e/test/scenarios/custom-column/cc-typing-suggestion.cy.spec.js+++ b/e2e/test/scenarios/custom-column/cc-typing-suggestion.cy.spec.js@@ -313,11 +313,10 @@ const addCustomColumn = () => {function verifyHelptextPosition(text) {H.CustomExpressionEditor.get().findByText(text)- .then(($element) => {- const { left: textLeft } = $element[0].getBoundingClientRect();-- H.CustomExpressionEditor.helpText().then(($element) => {- const { left: helpTextLeft } = $element[0].getBoundingClientRect();+ .then(($text) => {+ H.CustomExpressionEditor.helpText().should(($helpText) => {+ const { left: textLeft } = $text[0].getBoundingClientRect();+ const { left: helpTextLeft } = $helpText[0].getBoundingClientRect();expect(helpTextLeft).to.be.closeTo(textLeft, 5);});