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 usage-auditing chart drill-through e2e (#76377)
github-automation-metabasee33b30237231
diff --git a/e2e/test/scenarios/metabot/usage-auditing.cy.spec.ts b/e2e/test/scenarios/metabot/usage-auditing.cy.spec.tsindex f1aaa9c808f..0e5d4d1aa18 100644--- a/e2e/test/scenarios/metabot/usage-auditing.cy.spec.ts+++ b/e2e/test/scenarios/metabot/usage-auditing.cy.spec.ts@@ -318,6 +318,11 @@ function assertHourDateFilterInUrl(): void {}function clickLastTimeseriesChartDot(title: string): void {+ // Anchor on the chart being fully rendered before drilling: the page only+ // waits for the audit metadata, so the chart's dataset query + ECharts render+ // can still be in flight. Without this, cartesianChartCircle() races the+ // render and times out looking for [data-testid="chart-container"].+ assertChartRendered(title);getChartCard(title).within(() => {// eslint-disable-next-line metabase/no-unsafe-element-filteringH.cartesianChartCircle()