Skip to content

Commit

Permalink
Need to let dashboard finish loading (#733) (#734)
Browse files Browse the repository at this point in the history
Signed-off-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
(cherry picked from commit e1fad26)

Co-authored-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
  • Loading branch information
opensearch-trigger-bot[bot] and abbyhu2000 committed Jul 10, 2023
1 parent 6313d9c commit cf23f5b
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 cf23f5b

Please sign in to comment.