From 4ab76ab838fec61181dc87e9a13184b6a193e57b Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" Date: Fri, 28 Jan 2022 14:18:17 -0300 Subject: [PATCH] Fixes Cypress test --- .../cypress/integration/explore/advanced_analytics.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superset-frontend/cypress-base/cypress/integration/explore/advanced_analytics.test.ts b/superset-frontend/cypress-base/cypress/integration/explore/advanced_analytics.test.ts index 0646894fc42cc..d6bef0364c8c8 100644 --- a/superset-frontend/cypress-base/cypress/integration/explore/advanced_analytics.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/explore/advanced_analytics.test.ts @@ -21,6 +21,7 @@ describe('Advanced analytics', () => { cy.login(); cy.intercept('POST', '/superset/explore_json/**').as('postJson'); cy.intercept('GET', '/superset/explore_json/**').as('getJson'); + cy.intercept('GET', '/superset/explore/**').as('getExplore'); }); it('Create custom time compare', () => { @@ -41,6 +42,7 @@ describe('Advanced analytics', () => { cy.get('button[data-test="run-query-button"]').click(); cy.wait('@postJson'); cy.reload(); + cy.wait('@getExplore'); cy.verifySliceSuccess({ waitAlias: '@postJson', chartSelector: 'svg',