This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 497d3f3 fix: Adding timeout to flaky cypress test, to wait for
animation to complete (#11074)
497d3f3 is described below
commit 497d3f39107b6fe8952a35e1ad72af63612954ea
Author: Evan Rusackas <[email protected]>
AuthorDate: Sun Sep 27 20:08:21 2020 -0700
fix: Adding timeout to flaky cypress test, to wait for animation to
complete (#11074)
* adding timeout for animation
* 1s timeout
---
.../cypress-base/cypress/integration/dashboard/edit_mode.test.js | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/superset-frontend/cypress-base/cypress/integration/dashboard/edit_mode.test.js
b/superset-frontend/cypress-base/cypress/integration/dashboard/edit_mode.test.js
index 464b377..47fbabc 100644
---
a/superset-frontend/cypress-base/cypress/integration/dashboard/edit_mode.test.js
+++
b/superset-frontend/cypress-base/cypress/integration/dashboard/edit_mode.test.js
@@ -40,6 +40,9 @@ describe('Dashboard edit mode', () => {
cy.get('.tabs-components .nav-tabs li a').contains('Charts').click();
+ // wait for tab-switching animation to complete
+ cy.wait(1000);
+
// find box plot is available from list
cy.get('.tabs-components')
.find('.chart-card-container')