Skip to content

Commit

Permalink
Need to let dashboard finish loading (#733)
Browse files Browse the repository at this point in the history
Signed-off-by: Qingyang(Abby) Hu <[email protected]>
  • Loading branch information
abbyhu2000 authored Jul 6, 2023
1 parent 70e87ea commit e1fad26
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ if (Cypress.env('VISBUILDER_ENABLED')) {
cy.getElementByTestId('savedObjectTitle').type(visTitle);
cy.getElementByTestId('confirmSaveSavedObjectButton').click();

// Wait for page to load
cy.waitForLoader();
// Check to see if the new vis is present in the dashboard
cy.getElementByTestId(
`embeddablePanelHeading-${toTestId(visTitle, '')}`
Expand Down

0 comments on commit e1fad26

Please sign in to comment.