diff --git a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_builder/dashboard.spec.js b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_builder/dashboard.spec.js index e342dcd22..72bd3a35a 100644 --- a/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_builder/dashboard.spec.js +++ b/cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/vis_builder/dashboard.spec.js @@ -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, '')}`