You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by di...@apache.org on 2023/03/20 16:39:10 UTC

[superset] branch chore/e2e-cross-filters updated: Add wait time

This is an automated email from the ASF dual-hosted git repository.

diegopucci pushed a commit to branch chore/e2e-cross-filters
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/chore/e2e-cross-filters by this push:
     new c31bf46bd1 Add wait time
c31bf46bd1 is described below

commit c31bf46bd1f4513cbfaf568366e19f85bd9aef72
Author: geido <di...@gmail.com>
AuthorDate: Mon Mar 20 17:38:53 2023 +0100

    Add wait time
---
 .../cypress-base/cypress/integration/dashboard/crossfilters.test.ts      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset-frontend/cypress-base/cypress/integration/dashboard/crossfilters.test.ts b/superset-frontend/cypress-base/cypress/integration/dashboard/crossfilters.test.ts
index 91b77eb06a..ac3e55cbdc 100644
--- a/superset-frontend/cypress-base/cypress/integration/dashboard/crossfilters.test.ts
+++ b/superset-frontend/cypress-base/cypress/integration/dashboard/crossfilters.test.ts
@@ -92,6 +92,7 @@ function verifyDisabledCrossFilters(targetViz: string) {
 function verifyAppliedCrossFilters(affectedChart: Record<string, string>) {
   cy.get(`[data-test-viz-type='${affectedChart.affectedViz}']`)
     .within(() => {
+      cy.wait(500);
       cy.getBySel('applied-filter-count').should('exist').contains('1');
       cy.getBySel('applied-filter-count').trigger('mouseover');
     })