fix: Adding timeout to flaky cypress test, to wait for animation to complete (#11074)

* adding timeout for animation

* 1s timeout
This commit is contained in:
Evan Rusackas 2020-09-27 20:08:21 -07:00 committed by GitHub
parent cff034e2cf
commit 497d3f3910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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')