Skip to content

Commit

Permalink
fix: Adding timeout to flaky cypress test, to wait for animation to c…
Browse files Browse the repository at this point in the history
…omplete (apache#11074)

* adding timeout for animation

* 1s timeout
  • Loading branch information
rusackas authored and auxten committed Nov 20, 2020
1 parent 791c8f5 commit ca67a9d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit ca67a9d

Please sign in to comment.